T
Hi,
ich öffne ein HID USB Device mit
HidDevHandle = CreateFile( detailData->DevicePath,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
und möchte, das dieses Gerät nur noch für mich sichtbar ist.
Ein
HidDevHandle = CreateFile( detailData->DevicePath,
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
funktioniert leider nicht
Wie kann man dieses Gerät / File so locken, das es für andere
Applikationen nicht mehr zugreifbar ist ?
Gruß
thenoname
ps. ein ähnlicher thread:
http://www.everythingusb.com/forums/showthread.php?s=cfc4f491b6b7188c4fa777f7066782ce&threadid=9760&goto=nextnewest