Méthode | Description | |
---|---|---|
GetErrorMessage ( int errorCode ) : string |
Formats and returns a .NET string containing the Windows API level error message corresponding to the specified error code.
|
|
GetLastErrorMessage ( ) : string |
Formats and returns a .NET string containing the Windows API level error message from the last Win32 call.
|
Méthode | Description | |
---|---|---|
AdjustTokenPrivileges ( |
||
ChangeServiceConfig2 ( |
||
ChangeServiceConfig2 ( |
||
CloseHandle ( |
||
CloseServiceHandle ( |
||
CopyMemory ( |
||
CreateProcessWithTokenW ( |
||
CryptFindOIDInfo ( int dwKeyType, string pvKey, uint dwGroupId ) : |
||
CryptRegisterOIDInfo ( |
||
CryptUnregisterOIDInfo ( |
||
DuplicateToken ( |
||
DuplicateTokenEx ( |
||
DuplicateTokenEx ( |
||
FlushFileBuffers ( SafeFileHandle handle ) : void | ||
FormatMessage ( int dwFlags, |
||
FreeSid ( |
||
GetCurrentProcess ( ) : |
||
GetLastError ( ) : int | ||
GetShellWindow ( ) : |
||
GetTokenInformation ( |
||
GetTokenInformation ( |
||
GetWindowThreadProcessId ( |
||
GlobalMemoryStatusEx ( [ lpBuffer ) : bool | ||
InitiateSystemShutdownEx ( string lpMachineName, string lpMessage, uint dwTimeout, bool bForceAppsClosed, bool bRebootAfterShutdown, ShutdownReason dwReason ) : bool | ||
IsWow64Process ( |
||
LockServiceDatabase ( |
||
LogonUser ( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, |
||
LookupAccountName ( string lpSystemName, string lpAccountName, |
||
LookupPrivilegeValue ( string lpSystemName, string lpName, long &lpLuid ) : bool | ||
LsaAddAccountRights ( |
||
LsaClose ( |
||
LsaOpenPolicy ( LSA_UNICODE_STRING &SystemName, LSA_OBJECT_ATTRIBUTES &ObjectAttributes, int DesiredAccess, |
||
OpenProcess ( ProcessAccessTypes dwDesiredAccess, [ bInheritHandle, uint dwProcessId ) : |
||
OpenProcessToken ( |
||
OpenSCManager ( string lpMachineName, string lpDatabaseName, int dwDesiredAccess ) : |
||
OpenService ( |
||
UnlockServiceDatabase ( |
public static GetErrorMessage ( int errorCode ) : string | ||
errorCode | int | An |
Résultat | string |
public static GetLastErrorMessage ( ) : string | ||
Résultat | string |