I am creating a Custom Device for Universal Apps in Windows 10. Our previous app (runs for XP, 7, and 8 without Universal) has been using Driver control codes as a DWORD
, but the Windows.Devices.Custom
Namespace uses a function IOControlCode()
uses ushort.
The function we used to use is:
DeviceIoControl(HANDLE, DWORD, void*, DWORD,
void*, DWORD, DWORD, NULL);
See the new documentation here
Is there any alternative or way around this?