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: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe