The Win32 Network Management APIs Programming








Note: It is advised all the program examples in this session should be tested in the Windows's domain based and active directory network. You can use the computer labs that are equipped with the private network and having Windows domain and active directory installed and configured. The program examples include users and groups, computer account, workstation, server, session and share.


What do we have in this session?

  1. Intro

  2. Run-Time Requirements

  3. What's New in Network Management?

  4. Windows 7

  5. Windows Server 2003

  6. Windows XP

  7. Network Management Function Groups

  8. Alert Functions

  9. ApiBuffer Functions

  10. Directory Service Functions

  11. Distributed File System (DFS) Functions

  12. DFS Functions List

  13. Obsolete Functions

  14. Distributed File System Structures

  15. Get Functions

  16. Group Functions

  17. Local Group Functions

  18. Message Functions

  19. NetFile Functions

  20. Remote Utility Functions

  21. Replicator Functions

  22. About Export and Import Servers

  23. About the File Replicator Service

  24. Replicator Configuration Functions

  25. Replicator Export Directory Functions

  26. Replicator Import Directory Functions

  27. Schedule Functions

  28. Server Functions

  29. Server and Workstation Transport Functions

  30. Session Functions

  31. Share Functions

  32. Statistics Functions

  33. Use Functions

  34. User Functions

  35. User Modal Functions

  36. Workstation and Workstation User Functions

  37. Requirements for Network Management Functions on Active Directory Domain Controllers

  38. Queries

  39. Updates

  40. Requirements for Network Management Functions on Servers and Workstations

  41. Queries

  42. Updates

  43. Mapping ADSI Interfaces to the Network Management Functions

  44. Network Management Data

  45. Network Management Function Buffers

  46. Network Management Function Buffer Lengths

  47. API Data Alignment

  48. DFS Server Target Prioritization

  49. DFS Server Target Prioritization

  50. Embedded Strings

  51. Enumeration Resume Handles

  52. Function Status

  53. NLS Support

  54. Parameter Error Reporting

  55. RPC Buffer Allocation Errors

  56. Obsolete Information Fields

  57. Using Network Management: Program Examples


  1. Looking Up a User's Full Name Program Example

  2. Another Get User Information Program Example

  3. Forcing a User to Change the Logon Password Program Example

  4. Changing Elements of User Information Code Snippet Example

  5. Setting the User Password, Level 1003 Code Snippet Example

  6. Setting the User Privilege, Level 1005 Code Snippet Example

  7. Setting the User Home Directory, Level 1006 Code Snippet Example

  8. Setting the User Comment (Description) Field, Level 1007 Code Snippet Example

  9. Setting the User Flags, Level 1008 Code Snippet Example

  10. Setting the User Script Path, Level 1009 Code Snippet Example

  11. Setting The User Authority Flags, Level 1010 Code Snippet Example

  12. Setting The User Full Name, Level 1011 Code Snippet Example

  13. Creating a New Computer Account Program Example

  14. Creating a Local Group and Adding a User Program Example

  15. Looking Up Text for Error Code Numbers Program Example

  16. NetUserGetInfo() Function Program Example

  17. NetUserSetInfo() Program Example

  18. NetUserGetGroups() Program Example

  19. NetQueryDisplayInformation() Program Example

  20. NetWkstaGetInfo() Program Example

  21. NetWkstaSetInfo() Program Example

  22. NetWkstaUserGetInfo() Program Example

  23. NetApiBufferAllocate(), NetApiBufferSize(), NetApiBufferReallocate() and NetApiBufferFree() Program Example

  24. NetWkstaUserEnum() Program Example

  25. NetUserModalsGet() Program Example

  26. NetUserModalsSet() Program Example

  27. NetUserAdd() Program Example

  28. NetUserChangePassword() Program Example

  29. NetUserDel() Program Example

  30. NetUserEnum() Program Example

  31. NetQueryDisplayInformation() Program Example

  32. NetUserGetGroups() Program Example

  33. NetUserGetLocalGroups() Program Example

  34. NetUserSetGroups() Program Example

  35. NetShareAdd() Program Example

  36. NetShareCheck() Program Example

  37. NetShareDel() Program Example

  38. NetShareEnum() Program Example

  39. NetShareGetInfo() Program Example

  40. NetShareSetInfo() Program Example

  41. NetSessionDel() Program Example

  42. NetSessionEnum() Program Example

  43. NetSessionGetInfo() Program Example

  44. NetServerDiskEnum() Program Example

  45. NetServerEnum() Program Example

  46. NetServerGetInfo() Program Example

  47. NetServerSetInfo() Program Example

  48. MSDN Network Management Reference


< An Intro to Windows Driver Kit (WDK) Programming | Win32 Programming | Win32 Network Management APIs 1 >