Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than rpcrt4, prefix the name with the module name and a period.
UuidCreate (rpcrt4)
.
C# Signature:
[DllImport("rpcrt4.dll"]
static extern int UuidCreate(ref UUID id);
VB Signature:
Declare Function UuidCreate Lib "rpcrt4.dll" (ByRef id As UUID) As Integer
User-Defined Types:
[StructLayout(LayoutKind.Sequential)]
private struct UUID
{
public uint Data1;
public ushort Data2;
public ushort Data3;
[MarshalAs(UnmanagedType.ByValArray, SizeConst=8)]
public byte[] Data4;
}
private const int RPC_S_OK = 0;
private const int RPC_S_OUT_OF_MEMORY = 14;
private const int RPC_S_UUID_LOCAL_ONLY = 1824;
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).