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

GUID (Structures)
 
.
Summary
TODO - a short description

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct GUID
{
   public int a;
   public short b;
   public short c;
   [MarshalAs(UnmanagedType.ByValArray, SizeConst=8)]
   public byte[] d;
}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Private Structure GUID
   Dim a As Integer
   Dim b As Short
   Dim c As Short
   <MarshalAs(UnmanagedType.ByValArray, SizeConst:=8)> _
   Dim d() As Byte
End Structure

User-Defined Field Types:

None.

Notes:

You should use System.Guid instead.

A Guid is a 16 byte structure.

Documentation
GUID on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions