; $Id: advapi32dbg.def,v 1.1 2004/03/08 14:35:39 sandervl Exp $

;
; Based on NT 4.0 SP6: ADVAPI32.DLL 
;
LIBRARY ADVAPI32 INITINSTANCE
DESCRIPTION 'Odin ADVAPI32.DLL'
DATA MULTIPLE NONSHARED

IMPORTS

RtlUniform = KERNEL32.3531

EXPORTS

; ----------------------------------------------------------------------------
; LSA
; ----------------------------------------------------------------------------

     LsaAddAccountRights                   = "_LsaAddAccountRights@16"      @196
;    LsaAddPrivilegesToAccount							      @197
;    LsaClearAuditLog								      @198
     LsaClose                              = "_LsaClose@4"                            @199
;    LsaCreateAccount								      @200
;    LsaCreateSecret								      @201
;    LsaCreateTrustedDomain                					      @202
;    LsaDelete									      @203
     LsaDeleteTrustedDomain                = "_LsaDeleteTrustedDomain@8"              @204
     LsaEnumerateAccountRights             = "_LsaEnumerateAccountRights@16"     @205
;    LsaEnumerateAccounts							      @206
     LsaEnumerateAccountsWithUserRight     = "_LsaEnumerateAccountsWithUserRight@16"  @207
;    LsaEnumeratePrivileges							      @208
;    LsaEnumeratePrivilegesOfAccount						      @209
     LsaEnumerateTrustedDomains            = "_LsaEnumerateTrustedDomains@20"     @210
     LsaFreeMemory                         = "_LsaFreeMemory@4"                       @211
;    LsaGetQuotasForAccount							      @212
;    LsaGetRemoteUserName							      @213
;    LsaGetSystemAccessAccount							      @214
;    LsaGetUserName								      @215
;    LsaICLookupNames    							      @216
;    LsaICLookupSids								      @217
     LsaLookupNames                        = "_LsaLookupNames@20"                     @218
;    LsaLookupPrivilegeDisplayName						      @219
;    LsaLookupPrivilegeName							      @220
;    LsaLookupPrivilegeValue							      @221
     LsaLookupSids                         = "_LsaLookupSids@20"                      @222
     LsaNtStatusToWinError                 = "_LsaNtStatusToWinError@4"      @223
;    LsaOpenAccount								      @224
     LsaOpenPolicy                         = "_LsaOpenPolicy@16"                      @225
;    LsaOpenSecret								      @226
;    LsaOpenTrustedDomain							      @227
;    LsaQueryInfoTrustedDomain							      @228
     LsaQueryInformationPolicy             = "_LsaQueryInformationPolicy@12"          @229
;    LsaQuerySecret								      @230
;    LsaQuerySecurityObject							      @231
     LsaQueryTrustedDomainInfo             = "_LsaQueryTrustedDomainInfo@16"     @232
     LsaRemoveAccountRights                = "_LsaRemoveAccountRights@20"      @233
;    LsaRemovePrivilegesFromAccount						      @234
     LsaRetrievePrivateData                = "_LsaRetrievePrivateData@12"      @235
     LsaSetInformationPolicy               = "_LsaSetInformationPolicy@12"            @236
;    LsaSetInformationTrustedDomain						      @237
;    LsaSetQuotasForAccount							      @238
;    LsaSetSecret								      @239
;    LsaSetSecurityObject						              @240
;    LsaSetSystemAccessAccount							      @241
;    LsaSetTrustedDomainInformation						      @242
     LsaStorePrivateData                   = "_LsaStorePrivateData@12"      @243

; REMOVE     LsaCreateTrustedDomainEx              = _LsaCreateTrustedDomainEx@20
; REMOVE     LsaEnumerateTrustedDomainsEx          = _LsaEnumerateTrustedDomainsEx@20
; REMOVE     LsaOpenTrustedDomainByName            = _LsaOpenTrustedDomainByName@16
; REMOVE     LsaQueryTrustedDomainInfoByName       = _LsaQueryTrustedDomainInfoByName@16
; REMOVE     LsaRegisterPolicyChangeNotification   = _LsaRegisterPolicyChangeNotification@8
; REMOVE     LsaSetTrustedDomainInfo               = _LsaSetTrustedDomainInfo@16
; REMOVE     LsaSetTrustedDomainInfoByName         = _LsaSetTrustedDomainInfoByName@16
; REMOVE     LsaUnregisterPolicyChangeNotification = _LsaUnregisterPolicyChangeNotification@8

; ----------------------------------------------------------------------------
; Registry
; ----------------------------------------------------------------------------
   
     RegCloseKey                           = "_DbgRegCloseKey@4"                   @280
     RegConnectRegistryA                   = "_DbgRegConnectRegistryA@12"          @281
     RegConnectRegistryW                   = "_DbgRegConnectRegistryW@12"          @282
     RegCreateKeyA                         = "_DbgRegCreateKeyA@12"                @283
     RegCreateKeyExA                       = "_DbgRegCreateKeyExA@36"              @284
     RegCreateKeyExW                       = "_DbgRegCreateKeyExW@36"              @285
     RegCreateKeyW                         = "_DbgRegCreateKeyW@12"                @286
     RegDeleteKeyA                         = "_DbgRegDeleteKeyA@8"                 @287
     RegDeleteKeyW                         = "_DbgRegDeleteKeyW@8"                 @288
     RegDeleteValueA                       = "_DbgRegDeleteValueA@8"               @289
     RegDeleteValueW                       = "_DbgRegDeleteValueW@8"               @290
     RegEnumKeyA                           = "_DbgRegEnumKeyA@16"                  @291
     RegEnumKeyExA                         = "_DbgRegEnumKeyExA@32"                @292
     RegEnumKeyExW                         = "_DbgRegEnumKeyExW@32"                @293
     RegEnumKeyW                           = "_DbgRegEnumKeyW@16"                  @294
     RegEnumValueA                         = "_DbgRegEnumValueA@32"                @295
     RegEnumValueW                         = "_DbgRegEnumValueW@32"                @296
     RegFlushKey                           = "_DbgRegFlushKey@4"                   @297
     RegGetKeySecurity                     = "_DbgRegGetKeySecurity@16"            @298
     RegLoadKeyA                           = "_DbgRegLoadKeyA@12"                  @299
     RegLoadKeyW                           = "_DbgRegLoadKeyW@12"                  @300
     RegNotifyChangeKeyValue               = "_DbgRegNotifyChangeKeyValue@20"      @301
     RegOpenKeyA                           = "_DbgRegOpenKeyA@12"                  @302
     RegOpenKeyExA                         = "_DbgRegOpenKeyExA@20"                @303
     RegOpenKeyExW                         = "_DbgRegOpenKeyExW@20"                @304
     RegOpenKeyW                           = "_DbgRegOpenKeyW@12"                  @305
     RegQueryInfoKeyA                      = "_DbgRegQueryInfoKeyA@48"             @306
     RegQueryInfoKeyW                      = "_DbgRegQueryInfoKeyW@48"             @307
     RegQueryMultipleValuesA               = "_DbgRegQueryMultipleValuesA@20"      @308
     RegQueryMultipleValuesW               = "_DbgRegQueryMultipleValuesW@20"      @309
     RegQueryValueA                        = "_DbgRegQueryValueA@16"               @310
     RegQueryValueExA                      = "_DbgRegQueryValueExA@24"             @311
     RegQueryValueExW                      = "_DbgRegQueryValueExW@24"             @312
     RegQueryValueW                        = "_DbgRegQueryValueW@16"               @313
     RegReplaceKeyA                        = "_DbgRegReplaceKeyA@16"               @314
     RegReplaceKeyW                        = "_DbgRegReplaceKeyW@16"               @315
     RegRestoreKeyA                        = "_DbgRegRestoreKeyA@12"               @316
     RegRestoreKeyW                        = "_DbgRegRestoreKeyW@12"               @317
     RegSaveKeyA                           = "_DbgRegSaveKeyA@12"                  @318
     RegSaveKeyW                           = "_DbgRegSaveKeyW@12"                  @319
     RegSetKeySecurity                     = "_DbgRegSetKeySecurity@12"            @320
     RegSetValueA                          = "_DbgRegSetValueA@20"                 @321
     RegSetValueExA                        = "_DbgRegSetValueExA@24"               @322
     RegSetValueExW                        = "_DbgRegSetValueExW@24"               @323
     RegSetValueW                          = "_DbgRegSetValueW@20"                 @324
     RegUnLoadKeyA                         = "_DbgRegUnLoadKeyA@8"                 @325
     RegUnLoadKeyW                         = "_DbgRegUnLoadKeyW@8"                 @326
; WIN9X    RegRemapPreDefKey                     = _RegRemapPreDefKey@4               @xxx

; ----------------------------------------------------------------------------
; Rest
; ----------------------------------------------------------------------------
     AbortSystemShutdownA       = "_AbortSystemShutdownA@4"          @1
     AbortSystemShutdownW       = "_AbortSystemShutdownW@4"          @2
     AccessCheck                = "_AccessCheck@32"                  @3
     AccessCheckAndAuditAlarmA  = "_AccessCheckAndAuditAlarmA@44"    @4
     AccessCheckAndAuditAlarmW  = "_AccessCheckAndAuditAlarmW@44"    @5
     AddAccessAllowedAce        = "_AddAccessAllowedAce@16"          @6
     AddAccessDeniedAce         = "_AddAccessDeniedAce@16"           @7
     AddAce                     = "_AddAce@20"                       @8
     AddAuditAccessAce          = "_AddAuditAccessAce@24"            @9
     AdjustTokenGroups          = "_AdjustTokenGroups@24"            @10
     AdjustTokenPrivileges      = "_AdjustTokenPrivileges@24"        @11
     AllocateAndInitializeSid   = "_AllocateAndInitializeSid@44"     @12
     AllocateLocallyUniqueId    = "_AllocateLocallyUniqueId@4"       @13
     AreAllAccessesGranted      = "_AreAllAccessesGranted@8"         @14
     AreAnyAccessesGranted      = "_AreAnyAccessesGranted@8"         @15
     BackupEventLogA            = "_BackupEventLogA@8"               @16
     BackupEventLogW            = "_BackupEventLogW@8"               @17
;    BuildExplicitAccessWithNameA				@18
;    BuildExplicitAccessWithNameW				@19
;    BuildImpersonateExplicitAccessWithNameA			@20
;    BuildImpersonateExplicitAccessWithNameW			@21
;    BuildImpersonateTrusteeA					@22
;    BuildImpersonateTrusteeW					@23
;    BuildSecurityDescriptorA					@24
;    BuildSecurityDescriptorW					@25
;    BuildTrusteeWithNameA					@26
;    BuildTrusteeWithNameW					@27
;    BuildTrusteeWithSidA					@28
;    BuildTrusteeWithSidW					@29
;    CancelOverlappedAccess					@30
     ChangeServiceConfigA       = "_ChangeServiceConfigA@44"         @31
     ChangeServiceConfigW       = "_ChangeServiceConfigW@44"         @32
     ClearEventLogA             = "_ClearEventLogA@8"                @33
     ClearEventLogW             = "_ClearEventLogW@8"                @34
     CloseEventLog              = "_CloseEventLog@4"                 @35
     CloseServiceHandle         = "_CloseServiceHandle@4"            @36
     ControlService             = "_ControlService@12"               @37
;    ConvertAccessToSecurityDescriptorA				@38
;    ConvertAccessToSecurityDescriptorW				@39
;    ConvertSecurityDescriptorToAccessA				@40
;    ConvertSecurityDescriptorToAccessNamedA			@41
;    ConvertSecurityDescriptorToAccessNamedW			@42
;    ConvertSecurityDescriptorToAccessW				@43
     CopySid                    = "_CopySid@12"                      @44
     CreatePrivateObjectSecurity  = "_CreatePrivateObjectSecurity@24"  @45
     CreateProcessAsUserA       = "_CreateProcessAsUserA@44"         @46
     CreateProcessAsUserW       = "_CreateProcessAsUserW@44"         @47
     CreateServiceA             = "_CreateServiceA@52"               @48
     CreateServiceW             = "_CreateServiceW@52"               @49
     CryptAcquireContextA       = "_CryptAcquireContextA@20" 	     @50
     CryptAcquireContextW       = "_CryptAcquireContextW@20"         @51
     CryptCreateHash            = "_CryptCreateHash@20"	  	     @52
     CryptDecrypt               = "_CryptDecrypt@24"  	  	     @53
     CryptDeriveKey             = "_CryptDeriveKey@20"  	     @54
     CryptDestroyHash           = "_CryptDestroyHash@4"     @55
     CryptDestroyKey            = "_CryptDestroyKey@4"            @56
     CryptEncrypt               = "_CryptEncrypt@28"                 @57
     CryptExportKey             = "_CryptExportKey@24"     @58
     CryptGenKey                = "_CryptGenKey@16"     @59
     CryptGenRandom             = "_CryptGenRandom@12"     @60
     CryptGetHashParam          = "_CryptGetHashParam@20"     @61
     CryptGetKeyParam           = "_CryptGetKeyParam@20"     @62
     CryptGetProvParam          = "_CryptGetProvParam@20"     @63
     CryptGetUserKey            = "_CryptGetUserKey@12"     @64
     CryptHashData              = "_CryptHashData@16"     @65
     CryptHashSessionKey        = "_CryptHashSessionKey@12"    @66
     CryptImportKey             = "_CryptImportKey@24"     @67
     CryptReleaseContext        = "_CryptReleaseContext@8"    @68
     CryptSetHashParam          = "_CryptSetHashParam@16"     @69
     CryptSetKeyParam           = "_CryptSetKeyParam@16"     @70
     CryptSetProvParam          = "_CryptSetProvParam@16"     @71
     CryptSetProviderA          = "_CryptSetProviderA@8"     @72
     CryptSetProviderW          = "_CryptSetProviderW@8"     @73
     CryptSignHashA             = "_CryptSignHashA@24"     @74
     CryptSignHashW             = "_CryptSignHashW@24"     @75
     CryptVerifySignatureA      = "_CryptVerifySignatureA@24"    @76
     CryptVerifySignatureW      = "_CryptVerifySignatureW@24"    @77
     DeleteAce                  = "_DeleteAce@8"                     @78
     DeleteService              = "_DeleteService@4"                 @79
     DeregisterEventSource      = "_DeregisterEventSource@4"         @80
     DestroyPrivateObjectSecurity  = "_DestroyPrivateObjectSecurity@4" @81
     DuplicateToken             = "_DuplicateToken@12"               @82
;    DuplicateTokenEx           		                @83
;    ElfBackupEventLogFileA					@84
;    ElfBackupEventLogFileW					@85
;    ElfChangeNotify						@86
;    ElfClearEventLogFileA					@87
;    ElfClearEventLogFileW					@88
;    ElfCloseEventLog						@89
;    ElfDeregisterEventSource					@90
;    ElfNumberOfRecords						@91
;    ElfOldestRecord						@92
;    ElfOpenBackupEventLogA					@93
;    ElfOpenBackupEventLogW					@94
;    ElfOpenEventLogA						@95
;    ElfOpenEventLogW						@96
;    ElfReadEventLogA						@97
;    ElfReadEventLogW						@98
;    ElfRegisterEventSourceA					@99
;    ElfRegisterEventSourceW					@100

;    ElfReportEventA						@101
;    ElfReportEventW						@102
     EnumDependentServicesA     = "_EnumDependentServicesA@24"       @103
     EnumDependentServicesW     = "_EnumDependentServicesW@24"       @104
;    EnumServiceGroupW						@105
     EnumServicesStatusA        = "_EnumServicesStatusA@32"          @106
;    EnumServicesStatusExA					@107
;    EnumServicesStatusExW					@108
     EnumServicesStatusW        = "_EnumServicesStatusW@32"          @109
     EqualPrefixSid             = "_EqualPrefixSid@8"                @110
     EqualSid                   = "_EqualSid@8"                      @111
     FindFirstFreeAce           = "_RtlFirstFreeAce@8"               @112
     FreeSid                    = "_FreeSid@4"                       @113
;    GetAccessPermissionsForObjectA				@114
;    GetAccessPermissionsForObjectW				@115
     GetAce                     = "_GetAce@12"                       @116
     GetAclInformation          = "_GetAclInformation@16"            @117
;    GetAuditedPermissionsFromAclA				@118
;    GetAuditedPermissionsFromAclW				@119
;    GetCurrentHwProfileA					@120
;    GetCurrentHwProfileW					@121
;    GetEffectiveRightsFromAclA					@122
;    GetEffectiveRightsFromAclW					@123
;    GetExplicitEntriesFromAclA					@124
;    GetExplicitEntriesFromAclW					@125
     GetFileSecurityA           = "_GetFileSecurityA@20"             @126
     GetFileSecurityW           = "_GetFileSecurityW@20"             @127
     GetKernelObjectSecurity    = "_GetKernelObjectSecurity@20"      @128
     GetLengthSid               = "_RtlLengthSid@4"                  @129
;    GetMultipleTrusteeA					@130
;    GetMultipleTrusteeOperationA				@131
;    GetMultipleTrusteeOperationW				@132
;    GetMultipleTrusteeW					@133
;    GetNamedSecurityInfoA					@134
;    GetNamedSecurityInfoExA					@135
;    GetNamedSecurityInfoExW					@136
;    GetNamedSecurityInfoW					@137
     GetNumberOfEventLogRecords  = "_GetNumberOfEventLogRecords@8"   @138
     GetOldestEventLogRecord    = "_GetOldestEventLogRecord@8"       @139
;    GetOverlappedAccessResults					@140
     GetPrivateObjectSecurity   = "_GetPrivateObjectSecurity@20"     @141
     GetSecurityDescriptorControl  = "_GetSecurityDescriptorControl@12" @142
     GetSecurityDescriptorDacl  = "_GetSecurityDescriptorDacl@16"    @143
     GetSecurityDescriptorGroup  = "_GetSecurityDescriptorGroup@12"  @144
     GetSecurityDescriptorLength  = "_GetSecurityDescriptorLength@4" @145
     GetSecurityDescriptorOwner  = "_GetSecurityDescriptorOwner@12"  @146
     GetSecurityDescriptorSacl  = "_GetSecurityDescriptorSacl@16"    @147
;    GetSecurityInfo						@148
;    GetSecurityInfoExA						@149
;    GetSecurityInfoExW						@150
     GetServiceDisplayNameA     = "_GetServiceDisplayNameA@16"       @151
     GetServiceDisplayNameW     = "_GetServiceDisplayNameW@16"       @152
     GetServiceKeyNameA         = "_GetServiceKeyNameA@16"           @153
     GetServiceKeyNameW         = "_GetServiceKeyNameW@16"           @154
     GetSidIdentifierAuthority  = "_RtlIdentifierAuthoritySid@4"     @155
     GetSidLengthRequired       = "_RtlLengthRequiredSid@4"          @156
     GetSidSubAuthority         = "_RtlSubAuthoritySid@8"            @157
     GetSidSubAuthorityCount    = "_RtlSubAuthorityCountSid@4"       @158
     GetTokenInformation        = "_GetTokenInformation@20"          @159
;    GetTrusteeNameA						@160
;    GetTrusteeNameW						@161
;    GetTrusteeTypeA						@162
;    GetTrusteeTypeW						@163
     GetUserNameA               = "_GetUserNameA@8"                  @164
     GetUserNameW               = "_GetUserNameW@8"                  @165
;    I_ScGetCurrentGroupStateW					@166
;    I_ScSetServiceBitsA					@167
;    I_ScSetServiceBitsW					@168
     ImpersonateLoggedOnUser    = "_ImpersonateLoggedOnUser@4"       @169
     ImpersonateNamedPipeClient  = "_ImpersonateNamedPipeClient@4"   @170
     ImpersonateSelf            = "_ImpersonateSelf@4"               @171
     InitializeAcl              = "_InitializeAcl@12"                @172
     InitializeSecurityDescriptor  = "_InitializeSecurityDescriptor@8" @173
     InitializeSid              = "_InitializeSid@12"                @174
     InitiateSystemShutdownA    = "_InitiateSystemShutdownA@20"      @175
     InitiateSystemShutdownW    = "_InitiateSystemShutdownW@20"      @176
     IsTextUnicode              = "_RtlIsTextUnicode@12"             @177
     IsValidAcl                 = "_IsValidAcl@4"                    @178
     IsValidSecurityDescriptor  = "_IsValidSecurityDescriptor@4"     @179
     IsValidSid                 = "_IsValidSid@4"                    @180
     LockServiceDatabase        = "_LockServiceDatabase@4"           @181
     LogonUserA                 = "_LogonUserA@24"                   @182
     LogonUserW                 = "_LogonUserW@24"                   @183
     LookupAccountNameA         = "_LookupAccountNameA@28"           @184
     LookupAccountNameW         = "_LookupAccountNameW@28"           @185
     LookupAccountSidA          = "_LookupAccountSidA@28"            @186
     LookupAccountSidW          = "_LookupAccountSidW@28"            @187
     LookupPrivilegeDisplayNameA  = "_LookupPrivilegeDisplayNameA@20"  @188
     LookupPrivilegeDisplayNameW  = "_LookupPrivilegeDisplayNameW@20"  @189
     LookupPrivilegeNameA       = "_LookupPrivilegeNameA@16"         @190
     LookupPrivilegeNameW       = "_LookupPrivilegeNameW@16"         @191
     LookupPrivilegeValueA      = "_LookupPrivilegeValueA@12"        @192
     LookupPrivilegeValueW      = "_LookupPrivilegeValueW@12"        @193
;    LookupSecurityDescriptorPartsA				@194
;    LookupSecurityDescriptorPartsW				@195

     MakeAbsoluteSD             = "_MakeAbsoluteSD@44"               @244
     MakeSelfRelativeSD         = "_MakeSelfRelativeSD@12"           @245
     MapGenericMask             = "_MapGenericMask@8"                @246
     NotifyBootConfigStatus     = "_NotifyBootConfigStatus@4"        @247
     NotifyChangeEventLog       = "_NotifyChangeEventLog@8"          @248
     ObjectCloseAuditAlarmA     = "_ObjectCloseAuditAlarmA@12"       @249
     ObjectCloseAuditAlarmW     = "_ObjectCloseAuditAlarmW@12"       @250
;    ObjectDeleteAuditAlarmA					     @251
;    ObjectDeleteAuditAlarmW					     @252
     ObjectOpenAuditAlarmA      = "_ObjectOpenAuditAlarmA@48"        @253
     ObjectOpenAuditAlarmW      = "_ObjectOpenAuditAlarmW@48"        @254
     ObjectPrivilegeAuditAlarmA  = "_ObjectPrivilegeAuditAlarmA@24"  @255
     ObjectPrivilegeAuditAlarmW  = "_ObjectPrivilegeAuditAlarmW@24"  @256
     OpenBackupEventLogA        = "_OpenBackupEventLogA@8"           @257
     OpenBackupEventLogW        = "_OpenBackupEventLogW@8"           @258
     OpenEventLogA              = "_OpenEventLogA@8"                 @259
     OpenEventLogW              = "_OpenEventLogW@8"                 @260
     OpenProcessToken           = "_OpenProcessToken@12"             @261
     OpenSCManagerA             = "_OpenSCManagerA@12"               @262
     OpenSCManagerW             = "_OpenSCManagerW@12"               @263
     OpenServiceA               = "_OpenServiceA@12"                 @264
     OpenServiceW               = "_OpenServiceW@12"                 @265
     OpenThreadToken            = "_OpenThreadToken@16"              @266
     PrivilegeCheck             = "_PrivilegeCheck@12"               @267
     PrivilegedServiceAuditAlarmA  = "_PrivilegedServiceAuditAlarmA@20" @268
     PrivilegedServiceAuditAlarmW  = "_PrivilegedServiceAuditAlarmW@20" @269
     QueryServiceConfigA        = "_QueryServiceConfigA@16"          @270
     QueryServiceConfigW        = "_QueryServiceConfigW@16"          @271
     QueryServiceLockStatusA    = "_QueryServiceLockStatusA@16"      @272
     QueryServiceLockStatusW    = "_QueryServiceLockStatusW@16"      @273
     QueryServiceObjectSecurity  = "_QueryServiceObjectSecurity@20"  @274
     QueryServiceStatus         = "_QueryServiceStatus@8"            @275
;    QueryServiceStatusEx					     @276
;    QueryWindows31FilesMigration				     @277
     ReadEventLogA              = "_ReadEventLogA@28"                @278
     ReadEventLogW              = "_ReadEventLogW@28"                @279

     RegisterEventSourceA       = "_RegisterEventSourceA@8"          @327
     RegisterEventSourceW       = "_RegisterEventSourceW@8"          @328
     RegisterServiceCtrlHandlerA  = "_RegisterServiceCtrlHandlerA@8" @329
     RegisterServiceCtrlHandlerW  = "_RegisterServiceCtrlHandlerW@8" @330
     ReportEventA               = "_ReportEventA@36"                 @331
     ReportEventW               = "_ReportEventW@36"                 @332
     RevertToSelf               = "_RevertToSelf@0"                  @333
     SetAclInformation          = "_SetAclInformation@16"            @334
;    SetEntriesInAccessListA					     @335
;    SetEntriesInAccessListW					     @336
;    SetEntriesInAclA						     @337
;    SetEntriesInAclW    					     @338
;    SetEntriesInAuditListA					     @339
;    SetEntriesInAuditListW					     @340
     SetFileSecurityA           = "_SetFileSecurityA@12"             @341
     SetFileSecurityW           = "_SetFileSecurityW@12"             @342
     SetKernelObjectSecurity    = "_SetKernelObjectSecurity@12"      @343
;    SetNamedSecurityInfoA					     @344
;    SetNamedSecurityInfoExA 					     @345
;    SetNamedSecurityInfoExW					     @346
;    SetNamedSecurityInfoW					     @347
     SetPrivateObjectSecurity   = "_SetPrivateObjectSecurity@20"     @348
     SetSecurityDescriptorDacl  = "_SetSecurityDescriptorDacl@16"    @349
     SetSecurityDescriptorGroup  = "_SetSecurityDescriptorGroup@12"  @350
     SetSecurityDescriptorOwner  = "_SetSecurityDescriptorOwner@12"  @351
     SetSecurityDescriptorSacl  = "_SetSecurityDescriptorSacl@16"    @352
;    SetSecurityInfo						     @353
;    SetSecurityInfoExA						     @354
;    SetSecurityInfoExW						     @355
     SetServiceBits             = "_SetServiceBits@16"               @356
     SetServiceObjectSecurity   = "_SetServiceObjectSecurity@12"     @357
     SetServiceStatus           = "_SetServiceStatus@8"              @358
     SetThreadToken             = "_SetThreadToken@8"                @359
     SetTokenInformation        = "_SetTokenInformation@16"          @360
     StartServiceA              = "_StartServiceA@12"                @361
     StartServiceCtrlDispatcherA  = "_StartServiceCtrlDispatcherA@4" @362
     StartServiceCtrlDispatcherW  = "_StartServiceCtrlDispatcherW@4" @363
     StartServiceW              = "_StartServiceW@12"                @364
;    SynchronizeWindows31FilesAndWindowsNTRegistry		@365
    SystemFunction001 = "_SystemFunction001@12"	@366
    SystemFunction002 = "_SystemFunction002@12"	@367
    SystemFunction003 = "_SystemFunction003@8"	@368
    SystemFunction004 = "_SystemFunction004@12"	@369
    SystemFunction005 = "_SystemFunction005@12"	@370
    SystemFunction006 = "_SystemFunction006@8"	@371
    SystemFunction007 = "_SystemFunction007@8"	@372
    SystemFunction008 = "_SystemFunction008@12"	@373
    SystemFunction009 = "_SystemFunction009@12"	@374
    SystemFunction010 = "_SystemFunction010@12"        	@375
    SystemFunction011 = "_SystemFunction011@12"	@376
    SystemFunction012 = "_SystemFunction012@12"	@377
    SystemFunction013 = "_SystemFunction013@12"	@378
    SystemFunction014 = "_SystemFunction014@12"	@379
    SystemFunction015 = "_SystemFunction015@12"	@380
    SystemFunction016 = "_SystemFunction016@12"	@381
    SystemFunction017 = "_SystemFunction017@12"	@382
    SystemFunction018 = "_SystemFunction018@12"	@383
    SystemFunction019 = "_SystemFunction019@12"	@384
    SystemFunction020 = "_SystemFunction020@12"	@385
    SystemFunction021 = "_SystemFunction021@12"	@386
    SystemFunction022 = "_SystemFunction022@12"	@387
    SystemFunction023 = "_SystemFunction023@12"	@388
    SystemFunction024 = "_SystemFunction024@12"	@389
    SystemFunction025 = "_SystemFunction025@12"	@390
    SystemFunction026 = "_SystemFunction026@12"	@391
    SystemFunction027 = "_SystemFunction027@12"	@392
    SystemFunction028 = "_SystemFunction028@8"	@393
    SystemFunction029 = "_SystemFunction029@8"	@394
    SystemFunction030 = "_SystemFunction030@8"                  @395
    SystemFunction031 = "_SystemFunction031@8"                  @396
    SystemFunction032 = "_SystemFunction032@8"                  @397
    SystemFunction033 = "_SystemFunction033@8"                  @398
;    TrusteeAccessToObjectA					@399
;    TrusteeAccessToObjectW					@400

    UnlockServiceDatabase      = "_UnlockServiceDatabase@4"         @401

    SystemFunction036 = "_SystemFunction036@8"                  @402

    AddAccessAllowedAceEx  = "_AddAccessAllowedAceEx@20"        @420
    ConvertSidToStringSidA = "_ConvertSidToStringSidA@8"        @421
    ConvertSidToStringSidW = "_ConvertSidToStringSidW@8"        @422
    CheckTokenMembership   = "_CheckTokenMembership@12"         @423
    CryptContextAddRef     = "_CryptContextAddRef@12"           @424
    RegDeleteTreeW         = "_RegDeleteTreeW@8"                @425

    A_SHAFinal             = "_A_SHAFinal@8"                    @500
    A_SHAInit              = "_A_SHAInit@4"                     @501
    A_SHAUpdate            = "_A_SHAUpdate@12"                  @502
    MD4Final               = "_MD4Final@4"                      @503
    MD4Init                = "_MD4Init@4"                       @504
    MD4Update              = "_MD4Update@12"                    @505
    MD5Final               = "_MD5Final@4"                      @506
    MD5Init                = "_MD5Init@4"                       @507
    MD5Update              = "_MD5Update@12"                    @508

    CredFree               = "_CredFree@4"                      @509
    CredRead               = "_CredReadW@16"                    @510

    CryptSetKeyParam_511   = "_CryptSetKeyParam@16"             @511
    CryptSetHashParam_512  = "_CryptSetHashParam@16"            @512
