Re: CreateWellKnownSid() SID buffer size
From: Arild Bakken (arildb__at_hotmail.com)
Date: 11/14/03
- Next message: Badrinath Mohan: "CryptImportKey Fails.-Strange problem"
- Previous message: LiquidJ: "Re: How do I programmatically change Run As... DCOM credentials?"
- In reply to: Rubio: "CreateWellKnownSid() SID buffer size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 14 Nov 2003 15:33:42 +0100
"Rubio" <anonymous@discussions.microsoft.com> wrote in message
news:3BBF0BA6-604E-44FC-A028-95E646FEE816@microsoft.com...
> The MSDN documentation of CreateWellKnownSid() function contains an
example where a constant SECURITY_MAX_SID_SIZE is used. I can't find this
constant anywhere so it's probably not defined in the Windows headers. My
question is, how large a buffer should I allocate for the SID? I'm trying to
get the SID for the USERS group.
>
> -- Rubio
It's only available in Windows XP and Windows Server 2003 so make sure you
have an updated version of the Platform SDK installed. It's defined in
WinNT.h
Arild
- Next message: Badrinath Mohan: "CryptImportKey Fails.-Strange problem"
- Previous message: LiquidJ: "Re: How do I programmatically change Run As... DCOM credentials?"
- In reply to: Rubio: "CreateWellKnownSid() SID buffer size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|