41 DPRINT1(
"USBCCGP_AddDevice failed to create device with %x\n",
Status);
59 if (!FDODeviceExtension->NextDeviceObject)
62 DPRINT1(
"USBCCGP_AddDevice failed to attach device\n");
131 if (DeviceExtension->
IsFDO)
147 DPRINT(
"[USBCCGP] Unload\n");
158 DPRINT(
"[USBCCGP] DriverEntry\n");
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
PDEVICE_OBJECT PhysicalDeviceObject
#define STATUS_NOT_SUPPORTED
#define STATUS_DEVICE_REMOVED
#define NT_SUCCESS(StatCode)
DRIVER_INITIALIZE DriverEntry
struct _FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION
struct _COMMON_DEVICE_EXTENSION * PCOMMON_DEVICE_EXTENSION
#define InitializeListHead(ListHead)
#define KeInitializeSpinLock(sl)
#define FILE_AUTOGENERATED_DEVICE_NAME
#define IoSkipCurrentIrpStackLocation(Irp)
PDEVICE_OBJECT NTAPI IoAttachDeviceToDeviceStack(IN PDEVICE_OBJECT SourceDevice, IN PDEVICE_OBJECT TargetDevice)
NTSTATUS NTAPI IoCreateDevice(IN PDRIVER_OBJECT DriverObject, IN ULONG DeviceExtensionSize, IN PUNICODE_STRING DeviceName, IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN Exclusive, OUT PDEVICE_OBJECT *DeviceObject)
VOID NTAPI IoDeleteDevice(IN PDEVICE_OBJECT DeviceObject)
#define IoCompleteRequest
#define IRP_MJ_DEVICE_CONTROL
COMMON_DEVICE_EXTENSION Common
PDRIVER_OBJECT DriverObject
#define RtlZeroMemory(Destination, Length)
NTSTATUS FDO_Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS PDO_Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp)
VOID NTAPI USBCCGP_Unload(PDRIVER_OBJECT DriverObject)
DRIVER_ADD_DEVICE USBCCGP_AddDevice
NTSTATUS NTAPI USBCCGP_CreateClose(PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS NTAPI USBCCGP_Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp)
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
#define IRP_MJ_SYSTEM_CONTROL
#define IRP_MJ_INTERNAL_DEVICE_CONTROL