[gmpi] Re: GMPI SDK snapshot online
- From: "Michael Gogins" <gogins@xxxxxxxxxxxx>
- To: <gmpi@xxxxxxxxxxxxx>
- Date: Mon, 18 Apr 2005 00:07:04 -0400
Because the standard (yes, there is a standard, but I forget just which one)
defines it this way. One part is the physical network address, another part
is the time, and another part is a random number.
----- Original Message -----
From: "Tim Hockin" <thockin@xxxxxxxxxx>
To: <gmpi@xxxxxxxxxxxxx>
Sent: Sunday, April 17, 2005 8:51 PM
Subject: [gmpi] Re: GMPI SDK snapshot online
On Sun, Apr 17, 2005 at 07:41:54PM -0500, Jack O'Quin wrote:
This is probably a stupid question, but why define the GUID this way?
/*
* Globally Unique Identifier
*
* This is the established layout for a GUID.
*/
struct GMPI_Guid {
uint32_t data1;
uint16_t data2;
uint16_t data3;
unsigned char data4[8];
};
Why not just a single `unsigned char data[16]'?
I have no idea - all the code I could find on the web did it this way,
which does not even correspond to the standard printed notation. For fear
of horking byte-ordering, I stuck with what I saw in use :)
----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules: Please stay on topic. You are responsible for your own
words. Please respect your fellow subscribers. Please do not
redistribute anyone else's words without their permission.
Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe
----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules: Please stay on topic. You are responsible for your own
words. Please respect your fellow subscribers. Please do not
redistribute anyone else's words without their permission.
Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe
- References:
- [gmpi] GMPI SDK snapshot online
- From: Tim Hockin
- [gmpi] Re: GMPI SDK snapshot online
- From: Jack O'Quin
- [gmpi] Re: GMPI SDK snapshot online
- From: Tim Hockin
Other related posts:
- » [gmpi] GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
This is probably a stupid question, but why define the GUID this way?
/* * Globally Unique Identifier * * This is the established layout for a GUID. */ struct GMPI_Guid { uint32_t data1; uint16_t data2; uint16_t data3; unsigned char data4[8]; };
Why not just a single `unsigned char data[16]'?
I have no idea - all the code I could find on the web did it this way, which does not even correspond to the standard printed notation. For fear of horking byte-ordering, I stuck with what I saw in use :)
---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.
Archive: http://www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe
---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.
- [gmpi] GMPI SDK snapshot online
- From: Tim Hockin
- [gmpi] Re: GMPI SDK snapshot online
- From: Jack O'Quin
- [gmpi] Re: GMPI SDK snapshot online
- From: Tim Hockin