DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
src/aviwriter/guid.h
00001 
00002 #ifndef __ISP_UTILS_V4_GUID_H
00003 #define __ISP_UTILS_V4_GUID_H
00004 
00005 #include <stdint.h>
00006 
00007 #include "config.h"
00008 
00009 #include "informational.h"
00010 
00011 #if defined(_MSC_VER)
00012 # pragma pack(push,1)
00013 #endif
00014 
00015 /* [doc] windows_GUID
00016  *
00017  * Packed portable representation of the Microsoft Windows GUID
00018  * structure.
00019  */
00020 typedef struct {                                        /* (sizeof) (offset hex) (offset dec) */
00021         uint32_t _Little_Endian_        a;              /* (4)   +0x00 +0 */
00022         uint16_t _Little_Endian_        b,c;            /* (2,2) +0x04 +4 */
00023         uint8_t _Little_Endian_         d[2];           /* (2)   +0x08 +8 */
00024         uint8_t _Little_Endian_         e[6];           /* (6)   +0x0A +10 */
00025 } GCC_ATTRIBUTE(packed) windows_GUID;                   /* (16)  =0x10 =16 */
00026 #define windows_GUID_size (16)
00027 
00028 #if defined(_MSC_VER)
00029 # pragma pack(pop)
00030 #endif
00031 
00032 unsigned char windows_IsEqualGUID(const windows_GUID *a,const windows_GUID *b);
00033 
00034 #endif
00035