Click or drag to resize

WindowsApi Methods

The WindowsApi type exposes the following members.

Methods
  Name Description
Public method Static member AdjustTokenPrivileges Win32 AdjustTokenPrivileges function.
Public method Static member ChangeServiceConfig2(IntPtr, Int32, WindowsApiSERVICE_DESCRIPTION) Win32 ChangeServiceConfig2 function.
Public method Static member ChangeServiceConfig2(IntPtr, Int32, WindowsApiSERVICE_FAILURE_ACTIONS_FLAG) Win32 ChangeServiceConfig2 function.
Public method Static member ChangeServiceConfig2(IntPtr, Int32, IntPtr) Win32 ChangeServiceConfig2 function.
Public method Static member CloseHandle Win32 CloseHandle function.
Public method Static member CloseServiceHandle Win32 CloseServiceHandle function.
Public method Static member CreateProcessWithTokenW Win32 CreateProcessWithTokenW function.
Public method Static member CryptFindOIDInfo Win32 CryptFindOIDInfo function.
Public method Static member CryptRegisterOIDInfo Win32 CryptRegisterOIDInfo function.
Public method Static member CryptUnregisterOIDInfo Win32 CryptUnregisterOIDInfo function.
Public method Static member DuplicateToken Win32 DuplicateToken function.
Public method Static member DuplicateTokenEx(IntPtr, UInt32, WindowsApiSECURITY_ATTRIBUTES, WindowsApiSECURITY_IMPERSONATION_LEVEL, WindowsApiTOKEN_TYPE, IntPtr) Win32 DuplicateTokenEx function.
Public method Static member DuplicateTokenEx(IntPtr, UInt32, IntPtr, WindowsApiSECURITY_IMPERSONATION_LEVEL, WindowsApiTOKEN_TYPE, IntPtr) Win32 DuplicateTokenEx function.
Public method Static member FlushFileBuffers Flushes the buffers of a specified file and causes all buffered data to be written to a file.
Public method Static member FormatMessage Win32 FormatMessage function.
Public method Static member FreeSid Win32 FreeSid function.
Public method Static member GetCurrentProcess Win32 GetCurrentProcess function.
Public method Static member GetErrorMessage Formats and returns a .NET string containing the Windows API level error message corresponding to the specified error code.
Public method Static member GetLastError Win32 GetLastError function.
Public method Static member GetLastErrorMessage Formats and returns a .NET string containing the Windows API level error message from the last Win32 call.
Public method Static member GetShellWindow Win32 GetShellWindow function.
Public method Static member GetTokenInformation(IntPtr, WindowsApiTOKEN_INFORMATION_CLASS, WindowsApiTOKEN_ELEVATION_TYPE, UInt32, UInt32) Win32 GetTokenInformation function.
Public method Static member GetTokenInformation(IntPtr, WindowsApiTOKEN_INFORMATION_CLASS, UInt32, UInt32, UInt32) Win32 GetTokenInformation function.
Public method Static member GetWindowThreadProcessId Win32 GetWindowThreadProcessId function.
Public method Static member GlobalMemoryStatusEx  
Public method Static member InitiateSystemShutdownEx Win32 InitiateSystemShutdownEx function.
Public method Static member IsWow64Process Win32 IsWow64Process function.
Public method Static member LockServiceDatabase Win32 LockServiceDatabase function.
Public method Static member LogonUser Win32 LogonUser function.
Public method Static member LookupAccountName Win32 LookupAccountName function.
Public method Static member LookupPrivilegeValue Win32 LookupPrivilegeValue function.
Public method Static member LsaAddAccountRights Win32 LsaAddAccountRights function.
Public method Static member LsaClose Win32 LsaClose function.
Public method Static member LsaOpenPolicy Win32 LsaOpenPolicy function.
Public method Static member OpenProcess Win32 OpenProcess function.
Public method Static member OpenProcessToken Win32 OpenProcessToken function.
Public method Static member OpenSCManager Win32 OpenSCManager function.
Public method Static member OpenService Win32 OpenService function.
Public method Static member UnlockServiceDatabase Win32 UnlockServiceDatabase function.
Top
See Also