Click to Rate and Give Feedback
MSDN
MSDN Library
Networking
Network Protocols
Reference
RPC Structures
 GUID Structure
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
GUID Structure

GUIDs identify objects such as interfaces, manager entry-point vectors (EPVs), and class objects. A GUID is a 128-bit value consisting of one group of 8 hexadecimal digits, followed by three groups of 4 hexadecimal digits each, followed by one group of 12 hexadecimal digits. The following example GUID shows the groupings of hexadecimal digits in a GUID: 6B29FC40-CA47-1067-B31D-00DD010662DA

The GUID structure stores a GUID.

Syntax

typedef struct _GUID {
DWORD Data1;
WORD Data2;
WORD Data3;
BYTE Data4[8]; } GUID;

Members

Data1

Specifies the first 8 hexadecimal digits of the GUID.

Data2

Specifies the first group of 4 hexadecimal digits.

Data3

Specifies the second group of 4 hexadecimal digits.

Data4

Array of 8 bytes. The first 2 bytes contain the third group of 4 hexadecimal digits. The remaining 6 bytes contain the final 12 hexadecimal digits.

Remarks

GUIDs are the Microsoft implementation of the distributed computing environment (DCE) universally unique identifier ( UUID). The RPC run-time libraries use UUIDs to check for compatibility between clients and servers and to select among multiple implementations of an interface. The Windows access-control functions use GUIDs to identify the type of object that an object-specific ACE in an access-control list (ACL) protects.

Requirements

Client Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Server Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server.
Header

Declared in Rpcdce.h; include Rpc.h.

See Also

ACCESS_ALLOWED_OBJECT_ACE
ACE
ACL
UUID
UUID_VECTOR


Send comments about this topic to Microsoft

Build date: 2/7/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Displaying GUID against objects      jonpj1000   |   Edit   |  

I am using an LDAP tool to pull in records in to our contacts database. The tool will not update records that do not have a GUID against them (meaning they were not imported using LDAP).

I would like get the GUID's for the records I have so that LDAP will sync these records, does any one know where I can retrieve this data so that I can tag my records with the GUID?

Can this be done in ADSI edit? I can see objectGUID but thi doers not look how I would expect it to.

I would expect it to look like: {6B29FC40-CA47-1067-B31D-00DD010662DA}

But groupGUID displays as 0xdd 0x17 0xfd 0x4c 0x53 0x91 0x7c 0x46 0x92 0x61 0x23 0xbf 0xa5 0x1c 0xd6 0xda

Many Thanks,

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker