fix(advapi32): disambiguate GetTokenInformation() overloads

This commit is contained in:
Stephan Schreiber
2025-08-19 00:55:52 +02:00
parent ba04329818
commit e83a847a9d
+1
View File
@@ -538,6 +538,7 @@ export function GetTokenInformation(tokenHandle: HTOKEN, tokenInformationClass:
export function GetTokenInformation(tokenHandle: HTOKEN, tokenInformationClass: TOKEN_INFORMATION_CLASS.TokenDeviceClaimAttributes): CLAIM_SECURITY_ATTRIBUTES_INFORMATION | null
export function GetTokenInformation(tokenHandle: HTOKEN, tokenInformationClass: TOKEN_INFORMATION_CLASS.TokenDeviceGroups): TOKEN_GROUPS | null
export function GetTokenInformation(tokenHandle: HTOKEN, tokenInformationClass: TOKEN_INFORMATION_CLASS.TokenRestrictedDeviceGroups): TOKEN_GROUPS | null
export function GetTokenInformation(tokenHandle: HTOKEN, tokenInformationClass: number): any
export function GetTokenInformation(tokenHandle: HTOKEN, tokenInformationClass: TOKEN_INFORMATION_CLASS) {
switch (tokenInformationClass as number) {