@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetSidLengthRequired function returns the length, in bytes, of the buffer required to store a SID with a specified number of subauthorities. !!!!C# Signature: [DllImport("advapi32.dll", SetLastError=true)] static extern TODO GetSidLengthRequired(TODO); !!!!VB Signature: Declare Function GetSidLengthRequired Lib "advapi32.dll" (ByVal nSubAuthorityCount As Byte) As Integer !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Dim pSID As IntPtr = Runtime.InteropServices.Marshal.AllocHGlobal(GetSidLengthRequired(iSubAuthorityCount)) !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetSidLengthRequired@msdn on MSDN
Edit advapi32.GetSidLe...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.