here">
 
Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
NET_API_STATUS (Enums)
 
.
Summary
NET_API_STATUS consists of the error codes returned by the Network Management API functions (netapi32.dll). Below is a partial managed definition. The complete list of error codes is <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/network_management_error_codes.asp">here</a>

C# Definition:

public enum NET_API_STATUS : uint

{

    NERR_Success = 0,
    NERR_InvalidComputer = 2351,
    NERR_NotPrimary = 2226,
    NERR_SpeGroupOp = 2234,
    NERR_LastAdmin = 2452,
    NERR_BadPassword = 2203,
    NERR_PasswordTooShort = 2245,
    NERR_UserNotFound = 2221,
    ERROR_ACCESS_DENIED = 5,
    ERROR_NOT_ENOUGH_MEMORY = 8,
    ERROR_INVALID_PARAMETER = 87,
    ERROR_INVALID_NAME = 123,
    ERROR_INVALID_LEVEL = 124

}

VB Definition:

Enum NET_API_STATUS
   TODO
End Enum

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions