|
|
device open) HANDLE hDevice=CreateFile("\\\\.\\LKbtv1", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); device close) CloseHandle(hDevice);
register capture event) // give event handle DeviceIoControl( hDevice, IOCTL_TEST_REGISTEREVENT, (PVOID)&g_hCaptureEvent, sizeof(HANDLE), NULL, 0, &result, NULL);
LKsolutions |