Method |
Description |
|
AdjustTokenPrivileges ( IntPtr htok, bool disableAllPrivileges, TokPriv1Luid &newState, int len, IntPtr prev, IntPtr relen ) : bool |
|
|
ChangeServiceConfig2 ( SafeHandle hService, int dwInfoLevel, IntPtr lpInfo ) : bool |
|
|
CloseHandle ( IntPtr hObject ) : bool |
|
|
CoTaskMemFree ( IntPtr ptr ) : void |
|
|
CreateEnvironmentBlock ( IntPtr &lpEnvironment, IntPtr hToken, System.Boolean bInherit ) : System.Boolean |
|
|
CreateProcessAsUser ( IntPtr hToken, string lpApplicationName, string lpCommandLine, SECURITY_ATTRIBUTES &lpProcessAttributes, SECURITY_ATTRIBUTES &lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, STARTUPINFO &lpStartupInfo, PROCESS_INFORMATION &lpProcessInformation ) : bool |
|
|
CreateProfile ( [ pszUserSid, [ pszUserName, [ pszProfilePath, uint cchProfilePath ) : uint |
|
|
CredUIPromptForWindowsCredentials ( CREDUI_INFO &uiInfo, int authError, uint &authPackage, IntPtr InAuthBuffer, uint InAuthBufferSize, IntPtr &refOutAuthBuffer, uint &refOutAuthBufferSize, bool &fSave, PromptForWindowsCredentialsFlags flags ) : int |
|
|
CredUnPackAuthenticationBuffer ( int dwFlags, IntPtr pAuthBuffer, uint cbAuthBuffer, StringBuilder pszUserName, int &pcchMaxUserName, StringBuilder pszDomainName, int &pcchMaxDomainname, StringBuilder pszPassword, int &pcchMaxPassword ) : bool |
|
|
DeleteProfile ( string sidString, string path, string machine ) : bool |
|
|
DsGetDcName ( [ ComputerName, [ DomainName, [ DomainGuid, [ SiteName, [ flags, IntPtr &pDOMAIN_CONTROLLER_INFO ) : int |
|
|
DuplicateTokenEx ( IntPtr hExistingToken, uint dwDesiredAccess, IntPtr tokenAttr, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, IntPtr &phNewToken ) : bool |
|
|
GetCurrentProcess ( ) : IntPtr |
|
|
GetDiskFreeSpaceEx ( string drive, long &freeBytesForUser, long &totalBytes, long &freeBytes ) : bool |
|
|
GetTokenInformation ( IntPtr TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, IntPtr TokenInformation, int TokenInformationLength, int &ReturnLength ) : bool |
|
|
GetUserProfileDirectory ( IntPtr hToken, StringBuilder lpProfileDir, [ lpcchSize ) : bool |
|
|
LogonUser ( string lpszUsername, string domain, string password, int dwLogonType, int dwLogonProvider, IntPtr &phToken ) : bool |
|
|
LookupAccountSid ( string lpSystemName, IntPtr Sid, StringBuilder lpName, uint &cchName, StringBuilder ReferencedDomainName, uint &cchReferencedDomainName, SID_NAME_USE &peUse ) : bool |
|
|
LookupPrivilegeValue ( string lpSystemName, string lpName, LUID &lpLuid ) : bool |
|
|
NetApiBufferFree ( IntPtr Buffer ) : int |
|
|
NetUserAdd ( [ servername, UInt32 level, SafeNativeMethods &buf, Int32 &parm_err ) : int |
|
|
NetUserChangePassword ( [ domainname, [ username, [ oldpassword, [ newpassword ) : int |
|
|
NetUserDel ( [ servername, [ username ) : int |
|
|
NetUserGetInfo ( [ ServerName, [ UserName, int level, IntPtr &BufPtr ) : int |
|
|
NetUserSetInfo ( [ servername, string username, int level, structenums &buf, Int32 &parm_err ) : int |
|
|
NetWkstaGetInfo ( string servername, int level, IntPtr &bufptr ) : int |
|
|
OpenProcessToken ( IntPtr ProcessHandle, UInt32 DesiredAccess, IntPtr &TokenHandle ) : bool |
|
|
RegCloseKey ( UIntPtr hKey ) : int |
|
|
RegCopyTree ( UIntPtr hsKey, string lpSubKey, UIntPtr hdKey ) : int |
|
|
RegCreateKey ( structenums hKey, [ subKey, UIntPtr &phkResult ) : int |
|
|
RegDeleteTree ( structenums hKey, [ subKey ) : int |
|
|
RegLoadKey ( UInt32 hKey, String lpSubKey, String lpFile ) : int |
|
|
RegOpenKey ( structenums hKey, [ subKey, UIntPtr &phkResult ) : int |
|
|
RegUnLoadKey ( UInt32 hKey, string lpSubKey ) : int |
|
|
RtlGetVersion ( structenums &version ) : int |
|
|
SHGetFolderPath ( IntPtr hwndOwner, int nFolder, IntPtr hToken, uint dwFlags, [ pszPath ) : int |
|
|
SetServiceStatus ( IntPtr hServiceStatus, structenums &lpServiceStatus ) : bool |
|
|
SetTokenInformation ( IntPtr TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, int &TokenInformation, int TokenInformationLength ) : bool |
|
|
WNetAddConnection2 ( NETRESOURCE netResource, string password, string username, int flags ) : int |
|
|
WNetCancelConnection2 ( string name, int flags, bool force ) : int |
|
|
WNetUseConnection ( IntPtr hwndOwner, NETRESOURCE lpNetResource, string lpPassword, string lpUserID, int dwFlags, string lpAccessName, string lpBufferSize, string lpResult ) : int |
|
|
WTSCloseServer ( IntPtr hServer ) : void |
|
|
WTSEnumerateSessions ( IntPtr hServer, [ Reserved, [ Version, IntPtr &ppSessionInfo, [ pCount ) : int |
|
|
WTSFreeMemory ( IntPtr pMemory ) : void |
|
|
WTSGetActiveConsoleSessionId ( ) : int |
|
|
WTSLogoffSession ( IntPtr hServer, int sessionId, bool bWait ) : bool |
|
|
WTSOpenServer ( [ pServerName ) : IntPtr |
|
|
WTSQuerySessionInformation ( System hServer, int sessionId, WTS_INFO_CLASS wtsInfoClass, System &ppBuffer, uint &pBytesReturned ) : bool |
|
|
WTSQueryUserToken ( int sessionId, IntPtr &Token ) : bool |
|
|
WTSRegisterSessionNotification ( IntPtr hWnd, [ dwFlags ) : bool |
|
|
WTSSendMessage ( IntPtr hServer, [ SessionId, String pTitle, [ TitleLength, String pMessage, [ MessageLength, [ Style, [ Timeout, [ pResponse, bool bWait ) : bool |
|
|
WTSUnRegisterSessionNotification ( IntPtr hWnd ) : bool |
|
|