Advanced Functions

Back Up Next

 

Function Name Returns Arguments DLL Alias for
CreateProcessAsUserA Boolean ulong hToken,string AppName, string CommLine, long l1, long l2, boolean binh, long creationflags, long l3, string dir, str_startupinfo startupinfo, ref str_processinformation pi Advapi32.dll
DuplicateTokenEx Boolean ulong hExistingToken,ulong dwDesiredAccess,long lpTokenAttribute, long ImpersonationLevel,long TokenType,ref ulong phNewToken Advapi32.dll
ImpersonateLoggedOnUser Boolean ulong hToken Advapi32.dll
GetUserNameA Boolean ref string lpBuffer, ref long nSize Advapi32.dll
LogonUserA Boolean ref string lpszUsername, ref string lpszDomain, ref string lpszPassword,ulong dwLogonType, ulong dwLogonProvider, ref ulong phToken Advapi32.dll
RevertToSelf Boolean   Advapi32.dll

Back Up Next