Xhc - Camera Driver Windows 10

return STATUS_SUCCESS; }

// Allocate and initialize device context pMyCamera = (PMY_CAMERA)ExAllocatePoolWithTag(NonPagedPool, sizeof(MY_CAMERA), 'MCAM'); if (pMyCamera == NULL) { WdfObjectDelete(device); return STATUS_INSUFFICIENT_RESOURCES; } xhc camera driver windows 10

[MyCam.NTamd64] %Camera.DeviceDesc% = MyCam, USB\VID_8087&PID_0A22 return STATUS_SUCCESS; } // Allocate and initialize device

pMyCamera->WdfDevice = device;