Post.
My Browser: Chrome Version 67.0.3396.99 (Official Build) (64-bit)
BUG: (in his code)
regPropSuccess = SetupDiGetDeviceRegistryProperty(hDevInfo, &devInfoData,
SPDRP_DEVICEDESC, ®DataType,
(PBYTE)deviceDesc, sizeof(deviceDesc), &reqSize);
Detail: in the HTML resource code, the original code is ®DataType
, but somehow it is incorrectly represented as an HTML character entity ®DataType
in the end.
Is this a bug of Stack Overflow, or just a historical issue, considering that it is an eight year old question?