# Advapi32

- [AccessCheck](/pinvoke/advapi32/accesscheck.md)
- [AccessCheckAndAuditAlarm](/pinvoke/advapi32/accesscheckandauditalarm.md)
- [AddAccessAllowedAce](/pinvoke/advapi32/addaccessallowedace.md)
- [AddAce](/pinvoke/advapi32/addace.md)
- [AdjustTokenPrivileges](/pinvoke/advapi32/adjusttokenprivileges.md)
- [AllocateAndInitializeSid](/pinvoke/advapi32/allocateandinitializesid.md)
- [AuditEnumerateCategories](/pinvoke/advapi32/auditenumeratecategories.md)
- [BackupEventLog](/pinvoke/advapi32/backupeventlog.md)
- [BuildExplicitAccessWithName](/pinvoke/advapi32/buildexplicitaccesswithname.md)
- [BuildTrusteeWithSid](/pinvoke/advapi32/buildtrusteewithsid.md)
- [CertSrvIsServerOnline](/pinvoke/advapi32/certsrvisserveronline.md)
- [ChangeServiceConfig](/pinvoke/advapi32/changeserviceconfig.md)
- [ChangeServiceConfig2](/pinvoke/advapi32/changeserviceconfig2.md)
- [CheckTokenMembership](/pinvoke/advapi32/checktokenmembership.md)
- [ClearEventLog](/pinvoke/advapi32/cleareventlog.md)
- [CloseEventLog](/pinvoke/advapi32/closeeventlog.md)
- [CloseServiceHandle](/pinvoke/advapi32/closeservicehandle.md)
- [ControlService](/pinvoke/advapi32/controlservice.md)
- [ConvertSecurityDescriptorToStringSecurityDescriptor](/pinvoke/advapi32/convertsecuritydescriptortostringsecuritydescriptor.md)
- [ConvertSidToStringSid](/pinvoke/advapi32/convertsidtostringsid.md)
- [ConvertStringSecurityDescriptorToSecurityDescriptor](/pinvoke/advapi32/convertstringsecuritydescriptortosecuritydescriptor.md)
- [ConvertStringSidToSid](/pinvoke/advapi32/convertstringsidtosid.md)
- [CopySid](/pinvoke/advapi32/copysid.md)
- [CreateProcessAsUser](/pinvoke/advapi32/createprocessasuser.md)
- [CreateProcessAsUserW](/pinvoke/advapi32/createprocessasuserw.md)
- [CreateProcessWithLogonW](/pinvoke/advapi32/createprocesswithlogonw.md)
- [CreateService](/pinvoke/advapi32/createservice.md)
- [CreateWellKnownSid](/pinvoke/advapi32/createwellknownsid.md)
- [CredDelete](/pinvoke/advapi32/creddelete.md)
- [CredFree](/pinvoke/advapi32/credfree.md)
- [CredMarshalCredential](/pinvoke/advapi32/credmarshalcredential.md)
- [CredRead](/pinvoke/advapi32/credread.md)
- [CredWrite](/pinvoke/advapi32/credwrite.md)
- [CryptAcquireContext](/pinvoke/advapi32/cryptacquirecontext.md)
- [CryptAcquireContextA](/pinvoke/advapi32/cryptacquirecontexta.md)
- [CryptCreateHash](/pinvoke/advapi32/cryptcreatehash.md)
- [CryptDecrypt](/pinvoke/advapi32/cryptdecrypt.md)
- [CryptDeriveKey](/pinvoke/advapi32/cryptderivekey.md)
- [CryptDestroyHash](/pinvoke/advapi32/cryptdestroyhash.md)
- [CryptDestroyKey](/pinvoke/advapi32/cryptdestroykey.md)
- [CryptDuplicateKey](/pinvoke/advapi32/cryptduplicatekey.md)
- [CryptEncrypt](/pinvoke/advapi32/cryptencrypt.md)
- [CryptEnumProviderTypes](/pinvoke/advapi32/cryptenumprovidertypes.md)
- [CryptEnumProviders](/pinvoke/advapi32/cryptenumproviders.md)
- [CryptExportKey](/pinvoke/advapi32/cryptexportkey.md)
- [CryptGenKey](/pinvoke/advapi32/cryptgenkey.md)
- [CryptGenRandom](/pinvoke/advapi32/cryptgenrandom.md)
- [CryptGetDefaultProvider](/pinvoke/advapi32/cryptgetdefaultprovider.md)
- [CryptGetHashParam](/pinvoke/advapi32/cryptgethashparam.md)
- [CryptGetKeyParam](/pinvoke/advapi32/cryptgetkeyparam.md)
- [CryptGetProvParam](/pinvoke/advapi32/cryptgetprovparam.md)
- [CryptGetUserKey](/pinvoke/advapi32/cryptgetuserkey.md)
- [CryptHashData](/pinvoke/advapi32/crypthashdata.md)
- [CryptHashSessionKey](/pinvoke/advapi32/crypthashsessionkey.md)
- [CryptImportKey](/pinvoke/advapi32/cryptimportkey.md)
- [CryptReleaseContext](/pinvoke/advapi32/cryptreleasecontext.md)
- [CryptSetKeyParam](/pinvoke/advapi32/cryptsetkeyparam.md)
- [CryptSetProvParam](/pinvoke/advapi32/cryptsetprovparam.md)
- [CryptSignHash](/pinvoke/advapi32/cryptsignhash.md)
- [CryptUninstallDefaultContextA](/pinvoke/advapi32/cryptuninstalldefaultcontexta.md)
- [CryptVerifySignature](/pinvoke/advapi32/cryptverifysignature.md)
- [DecryptFile](/pinvoke/advapi32/decryptfile.md)
- [DeleteAce](/pinvoke/advapi32/deleteace.md)
- [DeleteService](/pinvoke/advapi32/deleteservice.md)
- [DestroyPrivateObjectSecurity](/pinvoke/advapi32/destroyprivateobjectsecurity.md)
- [DuplicateToken](/pinvoke/advapi32/duplicatetoken.md)
- [DuplicateTokenEx](/pinvoke/advapi32/duplicatetokenex.md)
- [EncryptFile](/pinvoke/advapi32/encryptfile.md)
- [EnumDependentServices](/pinvoke/advapi32/enumdependentservices.md)
- [EnumServicesStatus](/pinvoke/advapi32/enumservicesstatus.md)
- [EnumServicesStatusEx](/pinvoke/advapi32/enumservicesstatusex.md)
- [EqualSid](/pinvoke/advapi32/equalsid.md)
- [FreeSid](/pinvoke/advapi32/freesid.md)
- [GetAce](/pinvoke/advapi32/getace.md)
- [GetAclInformation](/pinvoke/advapi32/getaclinformation.md)
- [GetCurrentHwProfile](/pinvoke/advapi32/getcurrenthwprofile.md)
- [GetEffectiveRightsFromAcl](/pinvoke/advapi32/geteffectiverightsfromacl.md)
- [GetExplicitEntriesFromAcl](/pinvoke/advapi32/getexplicitentriesfromacl.md)
- [GetLengthSid](/pinvoke/advapi32/getlengthsid.md)
- [GetNamedSecurityInfo](/pinvoke/advapi32/getnamedsecurityinfo.md)
- [GetSecurityDescriptorLength](/pinvoke/advapi32/getsecuritydescriptorlength.md)
- [GetSecurityInfo](/pinvoke/advapi32/getsecurityinfo.md)
- [GetSidIdentifierAuthority](/pinvoke/advapi32/getsididentifierauthority.md)
- [GetSidLengthRequired](/pinvoke/advapi32/getsidlengthrequired.md)
- [GetSidSubAuthority](/pinvoke/advapi32/getsidsubauthority.md)
- [GetSidSubAuthorityCount](/pinvoke/advapi32/getsidsubauthoritycount.md)
- [GetTokenInformation](/pinvoke/advapi32/gettokeninformation.md)
- [GetTraceEnableFlags](/pinvoke/advapi32/gettraceenableflags.md)
- [GetTraceEnableLevel](/pinvoke/advapi32/gettraceenablelevel.md)
- [GetUserName](/pinvoke/advapi32/getusername.md)
- [ImpersonateLoggedOnUser](/pinvoke/advapi32/impersonateloggedonuser.md)
- [ImpersonateNamedPipeClient](/pinvoke/advapi32/impersonatenamedpipeclient.md)
- [InitializeAcl](/pinvoke/advapi32/initializeacl.md)
- [InitializeSecurityDescriptor](/pinvoke/advapi32/initializesecuritydescriptor.md)
- [InitializeSid](/pinvoke/advapi32/initializesid.md)
- [InitiateShutdown](/pinvoke/advapi32/initiateshutdown.md)
- [InitiateSystemShutdown](/pinvoke/advapi32/initiatesystemshutdown.md)
- [InitiateSystemShutdownEx](/pinvoke/advapi32/initiatesystemshutdownex.md)
- [IsTextUnicode](/pinvoke/advapi32/istextunicode.md)
- [IsValidSid](/pinvoke/advapi32/isvalidsid.md)
- [LSARetrievePrivateData](/pinvoke/advapi32/lsaretrieveprivatedata.md)
- [LockServiceDatabase](/pinvoke/advapi32/lockservicedatabase.md)
- [LogonUser](/pinvoke/advapi32/logonuser.md)
- [LogonUserA](/pinvoke/advapi32/logonusera.md)
- [LogonUserEx](/pinvoke/advapi32/logonuserex.md)
- [LookupAccountName](/pinvoke/advapi32/lookupaccountname.md)
- [LookupAccountSid](/pinvoke/advapi32/lookupaccountsid.md)
- [LookupPrivilegeDisplayName](/pinvoke/advapi32/lookupprivilegedisplayname.md)
- [LookupPrivilegeName](/pinvoke/advapi32/lookupprivilegename.md)
- [LookupPrivilegeValue](/pinvoke/advapi32/lookupprivilegevalue.md)
- [LsaAddAccountRights](/pinvoke/advapi32/lsaaddaccountrights.md)
- [LsaClose](/pinvoke/advapi32/lsaclose.md)
- [LsaEnumerateAccountRights](/pinvoke/advapi32/lsaenumerateaccountrights.md)
- [LsaEnumerateAccountsWithUserRight](/pinvoke/advapi32/lsaenumerateaccountswithuserright.md)
- [LsaFreeMemory](/pinvoke/advapi32/lsafreememory.md)
- [LsaLookupSids](/pinvoke/advapi32/lsalookupsids.md)
- [LsaNtStatusToWinError](/pinvoke/advapi32/lsantstatustowinerror.md)
- [LsaOpenPolicy](/pinvoke/advapi32/lsaopenpolicy.md)
- [LsaRemoveAccountRights](/pinvoke/advapi32/lsaremoveaccountrights.md)
- [LsaStorePrivateData](/pinvoke/advapi32/lsastoreprivatedata.md)
- [MapGenericMask](/pinvoke/advapi32/mapgenericmask.md)
- [NetValidatePasswordPolicy](/pinvoke/advapi32/netvalidatepasswordpolicy.md)
- [NotifyServiceStatusChange](/pinvoke/advapi32/notifyservicestatuschange.md)
- [OpenBackupEventLog](/pinvoke/advapi32/openbackupeventlog.md)
- [OpenEventLog](/pinvoke/advapi32/openeventlog.md)
- [OpenProcessToken](/pinvoke/advapi32/openprocesstoken.md)
- [OpenSCManager](/pinvoke/advapi32/openscmanager.md)
- [OpenService](/pinvoke/advapi32/openservice.md)
- [OpenThreadToken](/pinvoke/advapi32/openthreadtoken.md)
- [OpenTrace](/pinvoke/advapi32/opentrace.md)
- [QueryServiceConfig](/pinvoke/advapi32/queryserviceconfig.md)
- [QueryServiceConfig2](/pinvoke/advapi32/queryserviceconfig2.md)
- [QueryServiceObjectSecurity](/pinvoke/advapi32/queryserviceobjectsecurity.md)
- [QueryServiceStatus](/pinvoke/advapi32/queryservicestatus.md)
- [QueryServiceStatusEx](/pinvoke/advapi32/queryservicestatusex.md)
- [ReadEventLog](/pinvoke/advapi32/readeventlog.md)
- [RegCloseKey](/pinvoke/advapi32/regclosekey.md)
- [RegConnectRegistry](/pinvoke/advapi32/regconnectregistry.md)
- [RegCopyTree](/pinvoke/advapi32/regcopytree.md)
- [RegCreateKeyA](/pinvoke/advapi32/regcreatekeya.md)
- [RegCreateKeyEx](/pinvoke/advapi32/regcreatekeyex.md)
- [RegDeleteKey](/pinvoke/advapi32/regdeletekey.md)
- [RegDeleteKeyA](/pinvoke/advapi32/regdeletekeya.md)
- [RegDeleteKeyEx](/pinvoke/advapi32/regdeletekeyex.md)
- [RegDeleteTree](/pinvoke/advapi32/regdeletetree.md)
- [RegDisableReflectionKey](/pinvoke/advapi32/regdisablereflectionkey.md)
- [RegEnableReflectionKey](/pinvoke/advapi32/regenablereflectionkey.md)
- [RegEnumKeyEx](/pinvoke/advapi32/regenumkeyex.md)
- [RegEnumKeyExA](/pinvoke/advapi32/regenumkeyexa.md)
- [RegEnumValue](/pinvoke/advapi32/regenumvalue.md)
- [RegGetKeySecurity](/pinvoke/advapi32/reggetkeysecurity.md)
- [RegGetValue](/pinvoke/advapi32/reggetvalue.md)
- [RegLoadKey](/pinvoke/advapi32/regloadkey.md)
- [RegNotifyChangeKeyValue](/pinvoke/advapi32/regnotifychangekeyvalue.md)
- [RegOpenKey](/pinvoke/advapi32/regopenkey.md)
- [RegOpenKeyEx](/pinvoke/advapi32/regopenkeyex.md)
- [RegOverridePredefKey](/pinvoke/advapi32/regoverridepredefkey.md)
- [RegQueryInfoKey](/pinvoke/advapi32/regqueryinfokey.md)
- [RegQueryValue](/pinvoke/advapi32/regqueryvalue.md)
- [RegQueryValueEx](/pinvoke/advapi32/regqueryvalueex.md)
- [RegSetKeySecurity](/pinvoke/advapi32/regsetkeysecurity.md)
- [RegSetValueEx](/pinvoke/advapi32/regsetvalueex.md)
- [RegUnLoadKey](/pinvoke/advapi32/regunloadkey.md)
- [RegisterTraceGuids](/pinvoke/advapi32/registertraceguids.md)
- [RegisterTraceGuidsW](/pinvoke/advapi32/registertraceguidsw.md)
- [ReportEvent](/pinvoke/advapi32/reportevent.md)
- [RevertToSelf](/pinvoke/advapi32/reverttoself.md)
- [SaferCloseLevel](/pinvoke/advapi32/safercloselevel.md)
- [SaferComputeTokenFromLevel](/pinvoke/advapi32/safercomputetokenfromlevel.md)
- [SaferCreateLevel](/pinvoke/advapi32/safercreatelevel.md)
- [SaferiIsExecutableFileType](/pinvoke/advapi32/saferiisexecutablefiletype.md)
- [SetEntriesInAcl](/pinvoke/advapi32/setentriesinacl.md)
- [SetFileSecurity](/pinvoke/advapi32/setfilesecurity.md)
- [SetNamedSecurityInfo](/pinvoke/advapi32/setnamedsecurityinfo.md)
- [SetNamedSecurityInfoW](/pinvoke/advapi32/setnamedsecurityinfow.md)
- [SetSecurityDescriptorDacl](/pinvoke/advapi32/setsecuritydescriptordacl.md)
- [SetServiceObjectSecurity](/pinvoke/advapi32/setserviceobjectsecurity.md)
- [SetThreadToken](/pinvoke/advapi32/setthreadtoken.md)
- [SetTokenInformation](/pinvoke/advapi32/settokeninformation.md)
- [StartService](/pinvoke/advapi32/startservice.md)
- [SymCleanup](/pinvoke/advapi32/symcleanup.md)
- [TraceEvent](/pinvoke/advapi32/traceevent.md)
- [UnregisterTraceGuids](/pinvoke/advapi32/unregistertraceguids.md)
- [lookupprivilegevalue](/pinvoke/advapi32/lookupprivilegevalue-1.md)
