]> gitweb.factorcode.org Git - factor.git/blob - extra/windows/advapi32/advapi32.factor
0d2f164c8de520244ae0fbcc039a208cec3a8acc
[factor.git] / extra / windows / advapi32 / advapi32.factor
1 USING: alien.syntax kernel math windows.types math.bitfields ;
2 IN: windows.advapi32
3 LIBRARY: advapi32
4
5 : PROV_RSA_FULL       1 ; inline
6 : PROV_RSA_SIG        2 ; inline
7 : PROV_DSS            3 ; inline
8 : PROV_FORTEZZA       4 ; inline
9 : PROV_MS_EXCHANGE    5 ; inline
10 : PROV_SSL            6 ; inline
11 : PROV_RSA_SCHANNEL  12 ; inline
12 : PROV_DSS_DH        13 ; inline
13 : PROV_EC_ECDSA_SIG  14 ; inline
14 : PROV_EC_ECNRA_SIG  15 ; inline
15 : PROV_EC_ECDSA_FULL 16 ; inline
16 : PROV_EC_ECNRA_FULL 17 ; inline
17 : PROV_DH_SCHANNEL   18 ; inline
18 : PROV_SPYRUS_LYNKS  20 ; inline
19 : PROV_RNG           21 ; inline
20 : PROV_INTEL_SEC     22 ; inline
21 : PROV_REPLACE_OWF   23 ; inline
22 : PROV_RSA_AES       24 ; inline
23
24 : MS_DEF_DH_SCHANNEL_PROV
25     "Microsoft DH Schannel Cryptographic Provider" ; inline
26
27 : MS_DEF_DSS_DH_PROV
28     "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider" ; inline
29
30 : MS_DEF_DSS_PROV
31     "Microsoft Base DSS Cryptographic Provider" ; inline
32
33 : MS_DEF_PROV
34     "Microsoft Base Cryptographic Provider v1.0" ; inline
35
36 : MS_DEF_RSA_SCHANNEL_PROV
37     "Microsoft RSA Schannel Cryptographic Provider" ; inline
38
39 ! Unsupported (!)
40 : MS_DEF_RSA_SIG_PROV
41     "Microsoft RSA Signature Cryptographic Provider" ; inline
42
43 : MS_ENH_DSS_DH_PROV
44     "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider" ; inline
45
46 : MS_ENH_RSA_AES_PROV
47     "Microsoft Enhanced RSA and AES Cryptographic Provider" ; inline
48
49 : MS_ENHANCED_PROV
50     "Microsoft Enhanced Cryptographic Provider v1.0" ; inline
51
52 : MS_SCARD_PROV
53     "Microsoft Base Smart Card Crypto Provider" ; inline
54
55 : MS_STRONG_PROV
56     "Microsoft Strong Cryptographic Provider" ; inline
57
58 : CRYPT_VERIFYCONTEXT  HEX: F0000000 ; inline
59 : CRYPT_NEWKEYSET      HEX: 8 ; inline
60 : CRYPT_DELETEKEYSET   HEX: 10 ; inline
61 : CRYPT_MACHINE_KEYSET HEX: 20 ; inline
62 : CRYPT_SILENT         HEX: 40 ; inline
63
64 C-STRUCT: ACL
65     { "BYTE" "AclRevision" }
66     { "BYTE" "Sbz1" }
67     { "WORD" "AclSize" }
68     { "WORD" "AceCount" }
69     { "WORD" "Sbz2" } ;
70
71 TYPEDEF: ACL* PACL
72
73 : ACCESS_ALLOWED_ACE_TYPE 0 ; inline
74 : ACCESS_DENIED_ACE_TYPE 1 ; inline
75 : SYSTEM_AUDIT_ACE_TYPE 2 ; inline
76 : SYSTEM_ALARM_ACE_TYPE 3 ; inline
77
78 : OBJECT_INHERIT_ACE HEX: 1 ; inline
79 : CONTAINER_INHERIT_ACE HEX: 2 ; inline
80 : NO_PROPAGATE_INHERIT_ACE HEX: 4 ; inline
81 : INHERIT_ONLY_ACE HEX: 8 ; inline
82 : VALID_INHERIT_FLAGS HEX: f ; inline
83
84 C-STRUCT: ACE_HEADER
85     { "BYTE" "AceType" }
86     { "BYTE" "AceFlags" }
87     { "WORD" "AceSize" } ;
88
89 TYPEDEF: ACE_HEADER* PACE_HEADER
90
91 C-STRUCT: ACCESS_ALLOWED_ACE
92     { "ACE_HEADER" "Header" }
93     { "DWORD" "Mask" }
94     { "DWORD" "SidStart" } ;
95
96 TYPEDEF: ACCESS_ALLOWED_ACE* PACCESS_ALLOWED_ACE
97
98 C-STRUCT: ACCESS_DENIED_ACE
99     { "ACE_HEADER" "Header" }
100     { "DWORD" "Mask" }
101     { "DWORD" "SidStart" } ;
102 TYPEDEF: ACCESS_DENIED_ACE* PACCESS_DENIED_ACE
103
104
105 C-STRUCT: SYSTEM_AUDIT_ACE
106     { "ACE_HEADER" "Header" }
107     { "DWORD" "Mask" }
108     { "DWORD" "SidStart" } ;
109
110 TYPEDEF: SYSTEM_AUDIT_ACE* PSYSTEM_AUDIT_ACE
111
112 C-STRUCT: SYSTEM_ALARM_ACE
113     { "ACE_HEADER" "Header" }
114     { "DWORD" "Mask" }
115     { "DWORD" "SidStart" } ;
116
117 TYPEDEF: SYSTEM_ALARM_ACE* PSYSTEM_ALARM_ACE
118
119 C-STRUCT: ACCESS_ALLOWED_CALLBACK_ACE
120     { "ACE_HEADER" "Header" }
121     { "DWORD" "Mask" }
122     { "DWORD" "SidStart" } ;
123
124 TYPEDEF: ACCESS_ALLOWED_CALLBACK_ACE* PACCESS_ALLOWED_CALLBACK_ACE
125
126
127 ! typedef enum _TOKEN_INFORMATION_CLASS {
128 : TokenUser 1 ; inline
129 : TokenGroups 2 ; inline
130 : TokenPrivileges 3 ; inline
131 : TokenOwner 4 ; inline
132 : TokenPrimaryGroup 5 ; inline
133 : TokenDefaultDacl 6 ; inline
134 : TokenSource 7 ; inline
135 : TokenType 8 ; inline
136 : TokenImpersonationLevel 9 ; inline
137 : TokenStatistics 10 ; inline
138 : TokenRestrictedSids 11 ; inline
139 : TokenSessionId 12 ; inline
140 : TokenGroupsAndPrivileges 13 ; inline
141 : TokenSessionReference 14 ; inline
142 : TokenSandBoxInert 15 ; inline
143 ! } TOKEN_INFORMATION_CLASS;
144
145 : DELETE                     HEX: 00010000 ; inline
146 : READ_CONTROL               HEX: 00020000 ; inline
147 : WRITE_DAC                  HEX: 00040000 ; inline
148 : WRITE_OWNER                HEX: 00080000 ; inline
149 : SYNCHRONIZE                HEX: 00100000 ; inline
150 : STANDARD_RIGHTS_REQUIRED   HEX: 000f0000 ; inline
151
152 : STANDARD_RIGHTS_READ       READ_CONTROL ; inline
153 : STANDARD_RIGHTS_WRITE      READ_CONTROL ; inline
154 : STANDARD_RIGHTS_EXECUTE    READ_CONTROL ; inline
155
156 : TOKEN_TOKEN_ADJUST_DEFAULT   HEX: 0080 ; inline
157 : TOKEN_ADJUST_GROUPS          HEX: 0040 ; inline
158 : TOKEN_ADJUST_PRIVILEGES      HEX: 0020 ; inline
159 : TOKEN_ADJUST_SESSIONID       HEX: 0100 ; inline
160 : TOKEN_ASSIGN_PRIMARY         HEX: 0001 ; inline
161 : TOKEN_DUPLICATE              HEX: 0002 ; inline
162 : TOKEN_EXECUTE                STANDARD_RIGHTS_EXECUTE ; inline
163 : TOKEN_IMPERSONATE            HEX: 0004 ; inline
164 : TOKEN_QUERY                  HEX: 0008 ; inline
165 : TOKEN_QUERY_SOURCE           HEX: 0010 ; inline
166 : TOKEN_ADJUST_DEFAULT         HEX: 0080 ; inline
167 : TOKEN_READ STANDARD_RIGHTS_READ TOKEN_QUERY bitor ;
168
169 : TOKEN_WRITE
170     {
171         STANDARD_RIGHTS_WRITE
172         TOKEN_ADJUST_PRIVILEGES
173         TOKEN_ADJUST_GROUPS
174         TOKEN_ADJUST_DEFAULT
175     } flags ; foldable
176
177 : TOKEN_ALL_ACCESS
178     {
179         STANDARD_RIGHTS_REQUIRED
180         TOKEN_ASSIGN_PRIMARY
181         TOKEN_DUPLICATE
182         TOKEN_IMPERSONATE
183         TOKEN_QUERY
184         TOKEN_QUERY_SOURCE
185         TOKEN_ADJUST_PRIVILEGES
186         TOKEN_ADJUST_GROUPS
187         TOKEN_ADJUST_SESSIONID
188         TOKEN_ADJUST_DEFAULT
189     } flags ; foldable
190
191
192 ! : I_ScGetCurrentGroupStateW ;
193 ! : A_SHAFinal ;
194 ! : A_SHAInit ;
195 ! : A_SHAUpdate ;
196 ! : AbortSystemShutdownA ;
197 ! : AbortSystemShutdownW ;
198 ! : AccessCheck ;
199 ! : AccessCheckAndAuditAlarmA ;
200 ! : AccessCheckAndAuditAlarmW ;
201 ! : AccessCheckByType ;
202 ! : AccessCheckByTypeAndAuditAlarmA ;
203 ! : AccessCheckByTypeAndAuditAlarmW ;
204 ! : AccessCheckByTypeResultList ;
205 ! : AccessCheckByTypeResultListAndAuditAlarmA ;
206 ! : AccessCheckByTypeResultListAndAuditAlarmByHandleA ;
207 ! : AccessCheckByTypeResultListAndAuditAlarmByHandleW ;
208 ! : AccessCheckByTypeResultListAndAuditAlarmW ;
209 ! : AddAccessAllowedAce ;
210 ! : AddAccessAllowedAceEx ;
211 ! : AddAccessAllowedObjectAce ;
212 ! : AddAccessDeniedAce ;
213 ! : AddAccessDeniedAceEx ;
214 ! : AddAccessDeniedObjectAce ;
215 FUNCTION: BOOL AddAce ( PACL pAcl, DWORD dwAceRevision, DWORD dwStartingAceIndex, LPVOID pAceList, DWORD nAceListLength ) ;
216 ! : AddAuditAccessAce ;
217 ! : AddAuditAccessAceEx ;
218 ! : AddAuditAccessObjectAce ;
219 ! : AddUsersToEncryptedFile ;
220 ! : AdjustTokenGroups ;
221 FUNCTION: BOOL AdjustTokenPrivileges ( HANDLE TokenHandle,
222                                BOOL DisableAllPrivileges,
223                                PTOKEN_PRIVILEGES NewState,
224                                DWORD BufferLength,
225                                PTOKEN_PRIVILEGES PreviousState,
226                                PDWORD ReturnLength ) ;
227
228 ! : AllocateAndInitializeSid ;
229 ! : AllocateLocallyUniqueId ;
230 ! : AreAllAccessesGranted ;
231 ! : AreAnyAccessesGranted ;
232 ! : BackupEventLogA ;
233 ! : BackupEventLogW ;
234 ! : BuildExplicitAccessWithNameA ;
235 ! : BuildExplicitAccessWithNameW ;
236 ! : BuildImpersonateExplicitAccessWithNameA ;
237 ! : BuildImpersonateExplicitAccessWithNameW ;
238 ! : BuildImpersonateTrusteeA ;
239 ! : BuildImpersonateTrusteeW ;
240 ! : BuildSecurityDescriptorA ;
241 ! : BuildSecurityDescriptorW ;
242 ! : BuildTrusteeWithNameA ;
243 ! : BuildTrusteeWithNameW ;
244 ! : BuildTrusteeWithObjectsAndNameA ;
245 ! : BuildTrusteeWithObjectsAndNameW ;
246 ! : BuildTrusteeWithObjectsAndSidA ;
247 ! : BuildTrusteeWithObjectsAndSidW ;
248 ! : BuildTrusteeWithSidA ;
249 ! : BuildTrusteeWithSidW ;
250 ! : CancelOverlappedAccess ;
251 ! : ChangeServiceConfig2A ;
252 ! : ChangeServiceConfig2W ;
253 ! : ChangeServiceConfigA ;
254 ! : ChangeServiceConfigW ;
255 ! : CheckTokenMembership ;
256 ! : ClearEventLogA ;
257 ! : ClearEventLogW ;
258 ! : CloseCodeAuthzLevel ;
259 ! : CloseEncryptedFileRaw ;
260 ! : CloseEventLog ;
261 ! : CloseServiceHandle ;
262 ! : CloseTrace ;
263 ! : CommandLineFromMsiDescriptor ;
264 ! : ComputeAccessTokenFromCodeAuthzLevel ;
265 ! : ControlService ;
266 ! : ControlTraceA ;
267 ! : ControlTraceW ;
268 ! : ConvertAccessToSecurityDescriptorA ;
269 ! : ConvertAccessToSecurityDescriptorW ;
270 ! : ConvertSDToStringSDRootDomainA ;
271 ! : ConvertSDToStringSDRootDomainW ;
272 ! : ConvertSecurityDescriptorToAccessA ;
273 ! : ConvertSecurityDescriptorToAccessNamedA ;
274 ! : ConvertSecurityDescriptorToAccessNamedW ;
275 ! : ConvertSecurityDescriptorToAccessW ;
276 ! : ConvertSecurityDescriptorToStringSecurityDescriptorA ;
277 ! : ConvertSecurityDescriptorToStringSecurityDescriptorW ;
278 ! : ConvertSidToStringSidA ;
279 ! : ConvertSidToStringSidW ;
280 ! : ConvertStringSDToSDDomainA ;
281 ! : ConvertStringSDToSDDomainW ;
282 ! : ConvertStringSDToSDRootDomainA ;
283 ! : ConvertStringSDToSDRootDomainW ;
284 ! : ConvertStringSecurityDescriptorToSecurityDescriptorA ;
285 ! : ConvertStringSecurityDescriptorToSecurityDescriptorW ;
286 ! : ConvertStringSidToSidA ;
287 ! : ConvertStringSidToSidW ;
288 ! : ConvertToAutoInheritPrivateObjectSecurity ;
289 ! : CopySid ;
290 ! : CreateCodeAuthzLevel ;
291 ! : CreatePrivateObjectSecurity ;
292 ! : CreatePrivateObjectSecurityEx ;
293 ! : CreatePrivateObjectSecurityWithMultipleInheritance ;
294 ! : CreateProcessAsUserA ;
295 ! : CreateProcessAsUserSecure ;
296 ! : CreateProcessAsUserW ;
297 ! : CreateProcessWithLogonW ;
298 ! : CreateRestrictedToken ;
299 ! : CreateServiceA ;
300 ! : CreateServiceW ;
301 ! : CreateTraceInstanceId ;
302 ! : CreateWellKnownSid ;
303 ! : CredDeleteA ;
304 ! : CredDeleteW ;
305 ! : CredEnumerateA ;
306 ! : CredEnumerateW ;
307 ! : CredFree ;
308 ! : CredGetSessionTypes ;
309 ! : CredGetTargetInfoA ;
310 ! : CredGetTargetInfoW ;
311 ! : CredIsMarshaledCredentialA ;
312 ! : CredIsMarshaledCredentialW ;
313 ! : CredMarshalCredentialA ;
314 ! : CredMarshalCredentialW ;
315 ! : CredProfileLoaded ;
316 ! : CredReadA ;
317 ! : CredReadDomainCredentialsA ;
318 ! : CredReadDomainCredentialsW ;
319 ! : CredReadW ;
320 ! : CredRenameA ;
321 ! : CredRenameW ;
322 ! : CredUnmarshalCredentialA ;
323 ! : CredUnmarshalCredentialW ;
324 ! : CredWriteA ;
325 ! : CredWriteDomainCredentialsA ;
326 ! : CredWriteDomainCredentialsW ;
327 ! : CredWriteW ;
328 ! : CredpConvertCredential ;
329 ! : CredpConvertTargetInfo ;
330 ! : CredpDecodeCredential ;
331 ! : CredpEncodeCredential ;
332 ! : CryptAcquireContextA ;
333 FUNCTION: BOOL CryptAcquireContextW ( HCRYPTPROV* phProv,
334                                       LPCTSTR pszContainer,
335                                       LPCTSTR pszProvider,
336                                       DWORD dwProvType,
337                                       DWORD dwFlags ) ;
338
339 : CryptAcquireContext CryptAcquireContextW ;
340 ! : CryptContextAddRef ;
341 ! : CryptCreateHash ;
342 ! : CryptDecrypt ;
343 ! : CryptDeriveKey ;
344 ! : CryptDestroyHash ;
345 ! : CryptDestroyKey ;
346 ! : CryptDuplicateHash ;
347 ! : CryptDuplicateKey ;
348 ! : CryptEncrypt ;
349 ! : CryptEnumProviderTypesA ;
350 ! : CryptEnumProviderTypesW ;
351 ! : CryptEnumProvidersA ;
352 ! : CryptEnumProvidersW ;
353 ! : CryptExportKey ;
354 ! : CryptGenKey ;
355 FUNCTION: BOOL CryptGenRandom ( HCRYPTPROV hProv, DWORD dwLen, BYTE* pbBuffer ) ;
356 ! : CryptGetDefaultProviderA ;
357 ! : CryptGetDefaultProviderW ;
358 ! : CryptGetHashParam ;
359 ! : CryptGetKeyParam ;
360 ! : CryptGetProvParam ;
361 ! : CryptGetUserKey ;
362 ! : CryptHashData ;
363 ! : CryptHashSessionKey ;
364 ! : CryptImportKey ;
365 FUNCTION: BOOL CryptReleaseContext ( HCRYPTPROV hProv, DWORD dwFlags ) ;
366 ! : CryptSetHashParam ;
367 ! : CryptSetKeyParam ;
368 ! : CryptSetProvParam ;
369 ! : CryptSetProviderA ;
370 ! : CryptSetProviderExA ;
371 ! : CryptSetProviderExW ;
372 ! : CryptSetProviderW ;
373 ! : CryptSignHashA ;
374 ! : CryptSignHashW ;
375 ! : CryptVerifySignatureA ;
376 ! : CryptVerifySignatureW ;
377 ! : DecryptFileA ;
378 ! : DecryptFileW ;
379 ! : DeleteAce ;
380 ! : DeleteService ;
381 ! : DeregisterEventSource ;
382 ! : DestroyPrivateObjectSecurity ;
383 ! : DuplicateEncryptionInfoFile ;
384 ! : DuplicateToken ;
385 ! : DuplicateTokenEx ;
386 ! : ElfBackupEventLogFileA ;
387 ! : ElfBackupEventLogFileW ;
388 ! : ElfChangeNotify ;
389 ! : ElfClearEventLogFileA ;
390 ! : ElfClearEventLogFileW ;
391 ! : ElfCloseEventLog ;
392 ! : ElfDeregisterEventSource ;
393 ! : ElfFlushEventLog ;
394 ! : ElfNumberOfRecords ;
395 ! : ElfOldestRecord ;
396 ! : ElfOpenBackupEventLogA ;
397 ! : ElfOpenBackupEventLogW ;
398 ! : ElfOpenEventLogA ;
399 ! : ElfOpenEventLogW ;
400 ! : ElfReadEventLogA ;
401 ! : ElfReadEventLogW ;
402 ! : ElfRegisterEventSourceA ;
403 ! : ElfRegisterEventSourceW ;
404 ! : ElfReportEventA ;
405 ! : ElfReportEventW ;
406 ! : EnableTrace ;
407 ! : EncryptFileA ;
408 ! : EncryptFileW ;
409 ! : EncryptedFileKeyInfo ;
410 ! : EncryptionDisable ;
411 ! : EnumDependentServicesA ;
412 ! : EnumDependentServicesW ;
413 ! : EnumServiceGroupW ;
414 ! : EnumServicesStatusA ;
415 ! : EnumServicesStatusExA ;
416 ! : EnumServicesStatusExW ;
417 ! : EnumServicesStatusW ;
418 ! : EnumerateTraceGuids ;
419 ! : EqualDomainSid ;
420 ! : EqualPrefixSid ;
421 ! : EqualSid ;
422 ! : FileEncryptionStatusA ;
423 ! : FileEncryptionStatusW ;
424 ! : FindFirstFreeAce ;
425 ! : FlushTraceA ;
426 ! : FlushTraceW ;
427 ! : FreeEncryptedFileKeyInfo ;
428 ! : FreeEncryptionCertificateHashList ;
429 ! : FreeInheritedFromArray ;
430 ! : FreeSid ;
431 ! : GetAccessPermissionsForObjectA ;
432 ! : GetAccessPermissionsForObjectW ;
433 ! : GetAce ;
434 ! : GetAclInformation ;
435 ! : GetAuditedPermissionsFromAclA ;
436 ! : GetAuditedPermissionsFromAclW ;
437 ! : GetCurrentHwProfileA ;
438 ! : GetCurrentHwProfileW ;
439 ! : GetEffectiveRightsFromAclA ;
440 ! : GetEffectiveRightsFromAclW ;
441 ! : GetEventLogInformation ;
442 ! : GetExplicitEntriesFromAclA ;
443 ! : GetExplicitEntriesFromAclW ;
444 ! : GetFileSecurityA ;
445 ! : GetFileSecurityW ;
446 ! : GetInformationCodeAuthzLevelW ;
447 ! : GetInformationCodeAuthzPolicyW ;
448 ! : GetInheritanceSourceA ;
449 ! : GetInheritanceSourceW ;
450 ! : GetKernelObjectSecurity ;
451 ! : GetLengthSid ;
452 ! : GetLocalManagedApplicationData ;
453 ! : GetLocalManagedApplications ;
454 ! : GetManagedApplicationCategories ;
455 ! : GetManagedApplications ;
456 ! : GetMultipleTrusteeA ;
457 ! : GetMultipleTrusteeOperationA ;
458 ! : GetMultipleTrusteeOperationW ;
459 ! : GetMultipleTrusteeW ;
460 ! : GetNamedSecurityInfoA ;
461 ! : GetNamedSecurityInfoExA ;
462 ! : GetNamedSecurityInfoExW ;
463 ! : GetNamedSecurityInfoW ;
464 ! : GetNumberOfEventLogRecords ;
465 ! : GetOldestEventLogRecord ;
466 ! : GetOverlappedAccessResults ;
467 ! : GetPrivateObjectSecurity ;
468 ! : GetSecurityDescriptorControl ;
469 ! : GetSecurityDescriptorDacl ;
470 ! : GetSecurityDescriptorGroup ;
471 ! : GetSecurityDescriptorLength ;
472 ! : GetSecurityDescriptorOwner ;
473 ! : GetSecurityDescriptorRMControl ;
474 ! : GetSecurityDescriptorSacl ;
475 ! : GetSecurityInfo ;
476 ! : GetSecurityInfoExA ;
477 ! : GetSecurityInfoExW ;
478 ! : GetServiceDisplayNameA ;
479 ! : GetServiceDisplayNameW ;
480 ! : GetServiceKeyNameA ;
481 ! : GetServiceKeyNameW ;
482 ! : GetSidIdentifierAuthority ;
483 ! : GetSidLengthRequired ;
484 ! : GetSidSubAuthority ;
485 ! : GetSidSubAuthorityCount ;
486 ! : GetTokenInformation ;
487 ! : GetTraceEnableFlags ;
488 ! : GetTraceEnableLevel ;
489 ! : GetTraceLoggerHandle ;
490 ! : GetTrusteeFormA ;
491 ! : GetTrusteeFormW ;
492 ! : GetTrusteeNameA ;
493 ! : GetTrusteeNameW ;
494 ! : GetTrusteeTypeA ;
495 ! : GetTrusteeTypeW ;
496
497 ! : GetUserNameA ;
498 FUNCTION: BOOL GetUserNameW ( LPCTSTR lpBuffer, LPDWORD lpnSize ) ;
499 : GetUserName GetUserNameW ;
500
501 ! : GetWindowsAccountDomainSid ;
502 ! : I_ScIsSecurityProcess ;
503 ! : I_ScPnPGetServiceName ;
504 ! : I_ScSendTSMessage ;
505 ! : I_ScSetServiceBitsA ;
506 ! : I_ScSetServiceBitsW ;
507 ! : IdentifyCodeAuthzLevelW ;
508 ! : ImpersonateAnonymousToken ;
509 ! : ImpersonateLoggedOnUser ;
510 ! : ImpersonateNamedPipeClient ;
511 ! : ImpersonateSelf ;
512 FUNCTION: BOOL InitializeAcl ( PACL pAcl, DWORD nAclLength, DWORD dwAclRevision ) ;
513 ! : InitializeSecurityDescriptor ;
514 ! : InitializeSid ;
515 ! : InitiateSystemShutdownA ;
516 ! : InitiateSystemShutdownExA ;
517 ! : InitiateSystemShutdownExW ;
518 ! : InitiateSystemShutdownW ;
519 ! : InstallApplication ;
520 ! : IsTextUnicode ;
521 ! : IsTokenRestricted ;
522 ! : IsTokenUntrusted ;
523 ! : IsValidAcl ;
524 ! : IsValidSecurityDescriptor ;
525 ! : IsValidSid ;
526 ! : IsWellKnownSid ;
527 ! : LockServiceDatabase ;
528 ! : LogonUserA ;
529 ! : LogonUserExA ;
530 ! : LogonUserExW ;
531 ! : LogonUserW ;
532 ! : LookupAccountNameA ;
533 ! : LookupAccountNameW ;
534 ! : LookupAccountSidA ;
535 ! : LookupAccountSidW ;
536 ! : LookupPrivilegeDisplayNameA ;
537 ! : LookupPrivilegeDisplayNameW ;
538 ! : LookupPrivilegeNameA ;
539 ! : LookupPrivilegeNameW ;
540 ! : LookupPrivilegeValueA ;
541 FUNCTION: BOOL LookupPrivilegeValueW ( LPCTSTR lpSystemName,
542                                LPCTSTR lpName,
543                                PLUID lpLuid ) ;
544 : LookupPrivilegeValue LookupPrivilegeValueW ;
545
546 ! : LookupSecurityDescriptorPartsA ;
547 ! : LookupSecurityDescriptorPartsW ;
548 ! : LsaAddAccountRights ;
549 ! : LsaAddPrivilegesToAccount ;
550 ! : LsaClearAuditLog ;
551 ! : LsaClose ;
552 ! : LsaCreateAccount ;
553 ! : LsaCreateSecret ;
554 ! : LsaCreateTrustedDomain ;
555 ! : LsaCreateTrustedDomainEx ;
556 ! : LsaDelete ;
557 ! : LsaDeleteTrustedDomain ;
558 ! : LsaEnumerateAccountRights ;
559 ! : LsaEnumerateAccounts ;
560 ! : LsaEnumerateAccountsWithUserRight ;
561 ! : LsaEnumeratePrivileges ;
562 ! : LsaEnumeratePrivilegesOfAccount ;
563 ! : LsaEnumerateTrustedDomains ;
564 ! : LsaEnumerateTrustedDomainsEx ;
565 ! : LsaFreeMemory ;
566 ! : LsaGetQuotasForAccount ;
567 ! : LsaGetRemoteUserName ;
568 ! : LsaGetSystemAccessAccount ;
569 ! : LsaGetUserName ;
570 ! : LsaICLookupNames ;
571 ! : LsaICLookupNamesWithCreds ;
572 ! : LsaICLookupSids ;
573 ! : LsaICLookupSidsWithCreds ;
574 ! : LsaLookupNames2 ;
575 ! : LsaLookupNames ;
576 ! : LsaLookupPrivilegeDisplayName ;
577 ! : LsaLookupPrivilegeName ;
578 ! : LsaLookupPrivilegeValue ;
579 ! : LsaLookupSids ;
580 ! : LsaNtStatusToWinError ;
581 ! : LsaOpenAccount ;
582 ! : LsaOpenPolicy ;
583 ! : LsaOpenPolicySce ;
584 ! : LsaOpenSecret ;
585 ! : LsaOpenTrustedDomain ;
586 ! : LsaOpenTrustedDomainByName ;
587 ! : LsaQueryDomainInformationPolicy ;
588 ! : LsaQueryForestTrustInformation ;
589 ! : LsaQueryInfoTrustedDomain ;
590 ! : LsaQueryInformationPolicy ;
591 ! : LsaQuerySecret ;
592 ! : LsaQuerySecurityObject ;
593 ! : LsaQueryTrustedDomainInfo ;
594 ! : LsaQueryTrustedDomainInfoByName ;
595 ! : LsaRemoveAccountRights ;
596 ! : LsaRemovePrivilegesFromAccount ;
597 ! : LsaRetrievePrivateData ;
598 ! : LsaSetDomainInformationPolicy ;
599 ! : LsaSetForestTrustInformation ;
600 ! : LsaSetInformationPolicy ;
601 ! : LsaSetInformationTrustedDomain ;
602 ! : LsaSetQuotasForAccount ;
603 ! : LsaSetSecret ;
604 ! : LsaSetSecurityObject ;
605 ! : LsaSetSystemAccessAccount ;
606 ! : LsaSetTrustedDomainInfoByName ;
607 ! : LsaSetTrustedDomainInformation ;
608 ! : LsaStorePrivateData ;
609 ! : MD4Final ;
610 ! : MD4Init ;
611 ! : MD4Update ;
612 ! : MD5Final ;
613 ! : MD5Init ;
614 ! : MD5Update ;
615 ! : MSChapSrvChangePassword2 ;
616 ! : MSChapSrvChangePassword ;
617 ! : MakeAbsoluteSD2 ;
618 ! : MakeAbsoluteSD ;
619 ! : MakeSelfRelativeSD ;
620 ! : MapGenericMask ;
621 ! : NotifyBootConfigStatus ;
622 ! : NotifyChangeEventLog ;
623 ! : ObjectCloseAuditAlarmA ;
624 ! : ObjectCloseAuditAlarmW ;
625 ! : ObjectDeleteAuditAlarmA ;
626 ! : ObjectDeleteAuditAlarmW ;
627 ! : ObjectOpenAuditAlarmA ;
628 ! : ObjectOpenAuditAlarmW ;
629 ! : ObjectPrivilegeAuditAlarmA ;
630 ! : ObjectPrivilegeAuditAlarmW ;
631 ! : OpenBackupEventLogA ;
632 ! : OpenBackupEventLogW ;
633 ! : OpenEncryptedFileRawA ;
634 ! : OpenEncryptedFileRawW ;
635 ! : OpenEventLogA ;
636 ! : OpenEventLogW ;
637
638 FUNCTION: BOOL OpenProcessToken ( HANDLE ProcessHandle,
639                                   DWORD DesiredAccess,
640                                   PHANDLE TokenHandle ) ;
641 ! : OpenSCManagerA ;
642 ! : OpenSCManagerW ;
643 ! : OpenServiceA ;
644 ! : OpenServiceW ;
645 FUNCTION: BOOL OpenThreadToken ( HANDLE ThreadHandle, DWORD DesiredAccess, BOOL OpenAsSelf, PHANDLE TokenHandle ) ;
646 ! : OpenTraceA ;
647 ! : OpenTraceW ;
648 ! : PrivilegeCheck ;
649 ! : PrivilegedServiceAuditAlarmA ;
650 ! : PrivilegedServiceAuditAlarmW ;
651 ! : ProcessIdleTasks ;
652 ! : ProcessTrace ;
653 ! : QueryAllTracesA ;
654 ! : QueryAllTracesW ;
655 ! : QueryRecoveryAgentsOnEncryptedFile ;
656 ! : QueryServiceConfig2A ;
657 ! : QueryServiceConfig2W ;
658 ! : QueryServiceConfigA ;
659 ! : QueryServiceConfigW ;
660 ! : QueryServiceLockStatusA ;
661 ! : QueryServiceLockStatusW ;
662 ! : QueryServiceObjectSecurity ;
663 ! : QueryServiceStatus ;
664 ! : QueryServiceStatusEx ;
665 ! : QueryTraceA ;
666 ! : QueryTraceW ;
667 ! : QueryUsersOnEncryptedFile ;
668 ! : QueryWindows31FilesMigration ;
669 ! : ReadEncryptedFileRaw ;
670 ! : ReadEventLogA ;
671 ! : ReadEventLogW ;
672 ! : RegCloseKey ;
673 ! : RegConnectRegistryA ;
674 ! : RegConnectRegistryW ;
675 ! : RegCreateKeyA ;
676 ! : RegCreateKeyExA ;
677 ! : RegCreateKeyExW ;
678 ! : RegCreateKeyW ;
679 ! : RegDeleteKeyA ;
680 ! : RegDeleteKeyW ;
681 ! : RegDeleteValueA ;
682 ! : RegDeleteValueW ;
683 ! : RegDisablePredefinedCache ;
684 ! : RegEnumKeyA ;
685 ! : RegEnumKeyExA ;
686 ! : RegEnumKeyExW ;
687 ! : RegEnumKeyW ;
688 ! : RegEnumValueA ;
689 ! : RegEnumValueW ;
690 ! : RegFlushKey ;
691 ! : RegGetKeySecurity ;
692 ! : RegLoadKeyA ;
693 ! : RegLoadKeyW ;
694 ! : RegNotifyChangeKeyValue ;
695 ! : RegOpenCurrentUser ;
696 ! : RegOpenKeyA ;
697 ! : RegOpenKeyExA ;
698 ! : RegOpenKeyExW ;
699 ! : RegOpenKeyW ;
700 ! : RegOpenUserClassesRoot ;
701 ! : RegOverridePredefKey ;
702 ! : RegQueryInfoKeyA ;
703 ! : RegQueryInfoKeyW ;
704 ! : RegQueryMultipleValuesA ;
705 ! : RegQueryMultipleValuesW ;
706 ! : RegQueryValueA ;
707 ! : RegQueryValueExA ;
708 ! : RegQueryValueExW ;
709 ! : RegQueryValueW ;
710 ! : RegReplaceKeyA ;
711 ! : RegReplaceKeyW ;
712 ! : RegRestoreKeyA ;
713 ! : RegRestoreKeyW ;
714 ! : RegSaveKeyA ;
715 ! : RegSaveKeyExA ;
716 ! : RegSaveKeyExW ;
717 ! : RegSaveKeyW ;
718 ! : RegSetKeySecurity ;
719 ! : RegSetValueA ;
720 ! : RegSetValueExA ;
721 ! : RegSetValueExW ;
722 ! : RegSetValueW ;
723 ! : RegUnLoadKeyA ;
724 ! : RegUnLoadKeyW ;
725 ! : RegisterEventSourceA ;
726 ! : RegisterEventSourceW ;
727 ! : RegisterIdleTask ;
728 ! : RegisterServiceCtrlHandlerA ;
729 ! : RegisterServiceCtrlHandlerExA ;
730 ! : RegisterServiceCtrlHandlerExW ;
731 ! : RegisterServiceCtrlHandlerW ;
732 ! : RegisterTraceGuidsA ;
733 ! : RegisterTraceGuidsW ;
734 ! : RemoveTraceCallback ;
735 ! : RemoveUsersFromEncryptedFile ;
736 ! : ReportEventA ;
737 ! : ReportEventW ;
738 ! : RevertToSelf ;
739 ! : SaferCloseLevel ;
740 ! : SaferComputeTokenFromLevel ;
741 ! : SaferCreateLevel ;
742 ! : SaferGetLevelInformation ;
743 ! : SaferGetPolicyInformation ;
744 ! : SaferIdentifyLevel ;
745 ! : SaferRecordEventLogEntry ;
746 ! : SaferSetLevelInformation ;
747 ! : SaferSetPolicyInformation ;
748 ! : SaferiChangeRegistryScope ;
749 ! : SaferiCompareTokenLevels ;
750 ! : SaferiIsExecutableFileType ;
751 ! : SaferiPopulateDefaultsInRegistry ;
752 ! : SaferiRecordEventLogEntry ;
753 ! : SaferiReplaceProcessThreadTokens ;
754 ! : SaferiSearchMatchingHashRules ;
755 ! : SetAclInformation ;
756 ! : SetEntriesInAccessListA ;
757 ! : SetEntriesInAccessListW ;
758 ! : SetEntriesInAclA ;
759 ! : SetEntriesInAclW ;
760 ! : SetEntriesInAuditListA ;
761 ! : SetEntriesInAuditListW ;
762 ! : SetFileSecurityA ;
763 ! : SetFileSecurityW ;
764 ! : SetInformationCodeAuthzLevelW ;
765 ! : SetInformationCodeAuthzPolicyW ;
766 ! : SetKernelObjectSecurity ;
767 ! : SetNamedSecurityInfoA ;
768 ! : SetNamedSecurityInfoExA ;
769 ! : SetNamedSecurityInfoExW ;
770 ! : SetNamedSecurityInfoW ;
771 ! : SetPrivateObjectSecurity ;
772 ! : SetPrivateObjectSecurityEx ;
773 ! : SetSecurityDescriptorControl ;
774 ! : SetSecurityDescriptorDacl ;
775 ! : SetSecurityDescriptorGroup ;
776 ! : SetSecurityDescriptorOwner ;
777 ! : SetSecurityDescriptorRMControl ;
778 ! : SetSecurityDescriptorSacl ;
779 ! : SetSecurityInfo ;
780 ! : SetSecurityInfoExA ;
781 ! : SetSecurityInfoExW ;
782 ! : SetServiceBits ;
783 ! : SetServiceObjectSecurity ;
784 ! : SetServiceStatus ;
785 ! : SetThreadToken ;
786 ! : SetTokenInformation ;
787 ! : SetTraceCallback ;
788 ! : SetUserFileEncryptionKey ;
789 ! : StartServiceA ;
790 ! : StartServiceCtrlDispatcherA ;
791 ! : StartServiceCtrlDispatcherW ;
792 ! : StartServiceW ;
793 ! : StartTraceA ;
794 ! : StartTraceW ;
795 ! : StopTraceA ;
796 ! : StopTraceW ;
797 ! : SynchronizeWindows31FilesAndWindowsNTRegistry ;
798 ! : SystemFunction001 ;
799 ! : SystemFunction002 ;
800 ! : SystemFunction003 ;
801 ! : SystemFunction004 ;
802 ! : SystemFunction005 ;
803 ! : SystemFunction006 ;
804 ! : SystemFunction007 ;
805 ! : SystemFunction008 ;
806 ! : SystemFunction009 ;
807 ! : SystemFunction010 ;
808 ! : SystemFunction011 ;
809 ! : SystemFunction012 ;
810 ! : SystemFunction013 ;
811 ! : SystemFunction014 ;
812 ! : SystemFunction015 ;
813 ! : SystemFunction016 ;
814 ! : SystemFunction017 ;
815 ! : SystemFunction018 ;
816 ! : SystemFunction019 ;
817 ! : SystemFunction020 ;
818 ! : SystemFunction021 ;
819 ! : SystemFunction022 ;
820 ! : SystemFunction023 ;
821 ! : SystemFunction024 ;
822 ! : SystemFunction025 ;
823 ! : SystemFunction026 ;
824 ! : SystemFunction027 ;
825 ! : SystemFunction028 ;
826 ! : SystemFunction029 ;
827 ! : SystemFunction030 ;
828 ! : SystemFunction031 ;
829 ! : SystemFunction032 ;
830 ! : SystemFunction033 ;
831 ! : SystemFunction034 ;
832 ! : SystemFunction035 ;
833 ! : SystemFunction036 ;
834 ! : SystemFunction040 ;
835 ! : SystemFunction041 ;
836 ! : TraceEvent ;
837 ! : TraceEventInstance ;
838 ! : TraceMessage ;
839 ! : TraceMessageVa ;
840 ! : TreeResetNamedSecurityInfoA ;
841 ! : TreeResetNamedSecurityInfoW ;
842 ! : TrusteeAccessToObjectA ;
843 ! : TrusteeAccessToObjectW ;
844 ! : UninstallApplication ;
845 ! : UnlockServiceDatabase ;
846 ! : UnregisterIdleTask ;
847 ! : UnregisterTraceGuids ;
848 ! : UpdateTraceA ;
849 ! : UpdateTraceW ;
850 ! : WdmWmiServiceMain ;
851 ! : WmiCloseBlock ;
852 ! : WmiCloseTraceWithCursor ;
853 ! : WmiConvertTimestamp ;
854 ! : WmiDevInstToInstanceNameA ;
855 ! : WmiDevInstToInstanceNameW ;
856 ! : WmiEnumerateGuids ;
857 ! : WmiExecuteMethodA ;
858 ! : WmiExecuteMethodW ;
859 ! : WmiFileHandleToInstanceNameA ;
860 ! : WmiFileHandleToInstanceNameW ;
861 ! : WmiFreeBuffer ;
862 ! : WmiGetFirstTraceOffset ;
863 ! : WmiGetNextEvent ;
864 ! : WmiGetTraceHeader ;
865 ! : WmiMofEnumerateResourcesA ;
866 ! : WmiMofEnumerateResourcesW ;
867 ! : WmiNotificationRegistrationA ;
868 ! : WmiNotificationRegistrationW ;
869 ! : WmiOpenBlock ;
870 ! : WmiOpenTraceWithCursor ;
871 ! : WmiParseTraceEvent ;
872 ! : WmiQueryAllDataA ;
873 ! : WmiQueryAllDataMultipleA ;
874 ! : WmiQueryAllDataMultipleW ;
875 ! : WmiQueryAllDataW ;
876 ! : WmiQueryGuidInformation ;
877 ! : WmiQuerySingleInstanceA ;
878 ! : WmiQuerySingleInstanceMultipleA ;
879 ! : WmiQuerySingleInstanceMultipleW ;
880 ! : WmiQuerySingleInstanceW ;
881 ! : WmiReceiveNotificationsA ;
882 ! : WmiReceiveNotificationsW ;
883 ! : WmiSetSingleInstanceA ;
884 ! : WmiSetSingleInstanceW ;
885 ! : WmiSetSingleItemA ;
886 ! : WmiSetSingleItemW ;
887 ! : Wow64Win32ApiEntry ;
888 ! : WriteEncryptedFileRaw ;
889
890