authz.dll

André Hentschel nerv at dawncrow.de
Fri Jan 20 18:48:14 CST 2017


Hi,

while looking through the output of my wip script for detecting wrong spec file entries I came across authz.dll

And here we have two suspicious functions:
AuthzInitializeContextFromSid and AuthzInitializeContextFromToken

Both have a parameter of type "LUID" (a struct, not a pointer) which is defined as:
typedef struct _LUID {
    DWORD LowPart;
    LONG HighPart;
} LUID, *PLUID;

The spec-file says this is a long:
@ stdcall AuthzInitializeContextFromSid(long ptr long ptr long ptr ptr)
@ stdcall AuthzInitializeContextFromToken(long long long ptr long ptr ptr)

I think a struct like this deserves two longs ("long long") in the spec file, right?



More information about the wine-devel mailing list