C language function:ConvertStringSidToSid sample codes

Search sample code in the internet.It is the result.


TITLE : Adding SIDs to a Client Context (Windows)
BOOL WINAPI ConvertStringSidToSid(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376402(v=vs.85).aspx


TITLE : Adding SIDs to a Client Context (Windows)
if(!ConvertStringSidToSid(L"S-1-1-0", &pEveryoneSid)).......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff394766(v=vs.85).aspx
TITLE : Adding SIDs to a Client Context (Windows)
if(!ConvertStringSidToSid(L"S-1-2-0", &pLocalSid)).......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff394766(v=vs.85).aspx
search Google

https://www.google.com/#q=ConvertStringSidToSid