Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CopySid" in [All]

advapi32

.

static extern bool CopySid(uint nDestinationSidLength, IntPtr pDestinationSid,

.

static extern bool CopySid(uint nDestinationSidLength, byte[] pDestinationSid,

.

Declare Function CopySid Lib "advapi32.dll" (ByVal nDestinationSidLength As Integer, _

.

        UnsafeNativeMethods.CopySid(length, bytes, pSid);

.
Documentation
[CopySid] on MSDN
.

Consider also the use of CopySid instead of Marshal.Copy below. MSDN isn't clear if that is necessary or not, but better safe than sorry.


 
Access PInvoke.net directly from VS: