|
项目描述: |
Demonstrates the hoops you must jump through to get VB to call the NetXXX functions. Includes a CNetUser class that fully exercises NetUserGetInfo, NetUserGetGroups, and NetUserGetLocalGroups, returning the information found in USER_INFO_3 and GROUP_INFO_2. Also shows how to call the Unicode versions of GetUserName and GetComputerName. Custom functions provide Unicode and numeric data found at the end of pointers returned by unfriendly APIs.
NetUser演示了用VB来调用NetXXX 函数。包括了一个CNetUser 类,它完全使用了NetUserGetInfo,   NetUserGetGroups, and NetUserGetLocalGroups, 返回USER_INFO_3 和 GROUP_INFO_2中提供的有关信息。也演示了调用Unicode 版本的GetUserName 和 GetComputerName。定制的函数提供了在终端打印机由不友好的API返回的Unicode 和数字数据。
来源: http://www.mvps.org/vb/ |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
NetUser |
 1.0  |
2004-04-18 |
下载 |
|
|