C language function:BuildSecurityDescriptor sample codes

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


TITLE : WinApi
ttuituittttui DWORD BuildSecurityDescriptor(_In_opt_ PTRUSTEE pOwner, _In_opt_ PTRUSTEE pGroup, _In_ ULONG cCountOfAccessEntries, _In_opt_ PEXPLICIT_ACCESS pListOfAccessEntries, _In_ ULONG cCountOfAuditEntries, _In_opt_ PEXPLICIT_ACCESS pListOfAuditEntries, _In_opt_ PSECURITY_DESCRIPTOR pOldSD, _Out_ PULONG pSizeNewSD, _Out_ PSECURITY_DESCRIPTOR *pNewSD).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm


TITLE : GetTokenInformation function (Windows)
DWORD WINAPI BuildSecurityDescriptor(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376381(v=vs.85).aspx
search Google

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