Hi Herman,
Any idea what is the difference between HID_Guid and ls_HIdGuid in the below examples? They are not the same values, but I cannot figure out why...
#DEFINE GUID_Size 16
lc_HidGuid = SPACE( GUID_Size )
ls_HidGuid = SPACE( GUID_Size )
#DEFINE GUID_DEVCLASS_HIDCLASS ;
CHR(0xA0) + CHR(0x17) + CHR(0x5A) + CHR(0x74) + ;
CHR(0xD3) + CHR(0x74) + CHR(0xD0) + CHR(0x11) + ;
CHR(0xB6) + CHR(0xFE) + CHR(0x00) + CHR(0xA0) + ;
CHR(0xC9) + CHR(0x0F) + CHR(0x57) + CHR(0xDA)
lc_hidGuid = GUID_DEVCLASS_HIDCLASS
DECLARE HidD_GetHidGuid IN HID ;
STRING @ O_sHidGuid
HidD_GetHidGuid( @ls_HidGuid )
Now compare the values of lc_hidGuid and ls_hidGuid, shouldn't they be the same?http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Hid_r/hh/HID_r/hidfunc_61242b6f-b794-48c7-84b8-ef8d0d4e69af.xml.aspHidD_GetHidGuidThe HidD_GetHidGuid routine returns the device interface GUID for HIDClass devices.
VOID
HidD_GetHidGuid(
OUT LPGUID HidGuid
);
ParametersHidGuid Pointer to a caller-allocated GUID buffer that the routine uses to return the device interface GUID for HIDClass devices.
Return ValueNone.
HeadersDeclared in hidsdi.h. Include hidsdi.h.
CommentsOnly user-mode applications can call HidD_GetHidGuid.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"