ich habe Probleme mit "BYTE Data4[8]"
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
Code: Alles auswählen
typedef struct _GUID {
DWORD Data1;
WORD Data2;
WORD Data3;
BYTE Data4[8];
} GUID;
das sieht das in VS2015 so aus ich habe nun den GUID String zerlegt und die einzelnen Array Element entsprechen dem Bild ... aber wie komme ich zu "BYTE Data4[8]" ?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.
anbei Testprogramm Nachtrag : die GUID Structure ist in ot4xb enthalten ...
Code: Alles auswählen
XB_BEGIN_STRUCTURE( GUID )
_XBST_ULONG ( Data1 )
_XBST_WORD ( Data2 )
_XBST_WORD ( Data3 )
_XBST_BINSTR ( Data4 , 8)
XB_END_STRUCTURE