From: Alex Henrie alexhenrie24@gmail.com
In the Windows SDK, PSID is void* and PISID is SID*. Both types are defined in both winnt.h and wtypesbase.idl. --- include/wtypes.idl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/wtypes.idl b/include/wtypes.idl index 0db3a397d41..89477880616 100644 --- a/include/wtypes.idl +++ b/include/wtypes.idl @@ -110,7 +110,9 @@ typedef struct _SID { UCHAR SubAuthorityCount; SID_IDENTIFIER_AUTHORITY IdentifierAuthority; [size_is(SubAuthorityCount)] ULONG SubAuthority[*]; -} SID, *PSID; +} SID, *PISID; + +typedef void *PSID;
typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;