ReactOS  0.4.15-dev-2703-g05fb0f1
usbcamdi.h File Reference

Go to the source code of this file.

Classes

struct  _pipe_config_descriptor
 
struct  _USBCAMD_DEVICE_DATA
 
struct  _USBCAMD_DEVICE_DATA2
 
struct  _USBCAMD_INTERFACE
 

Macros

#define USBCAMAPI   DECLSPEC_IMPORT
 
#define USBCAMD_DATA_PIPE   0x0001
 
#define USBCAMD_MULTIPLEX_PIPE   0x0002
 
#define USBCAMD_SYNC_PIPE   0x0004
 
#define USBCAMD_DONT_CARE_PIPE   0x0008
 
#define USBCAMD_VIDEO_STREAM   0x1
 
#define USBCAMD_STILL_STREAM   0x2
 
#define USBCAMD_VIDEO_STILL_STREAM   (USBCAMD_VIDEO_STREAM | USBCAMD_STILL_STREAM)
 
#define USBCAMD_PROCESSPACKETEX_DropFrame   0x0002
 
#define USBCAMD_PROCESSPACKETEX_NextFrameIsStill   0x0004
 
#define USBCAMD_PROCESSPACKETEX_CurrentFrameIsStill   0x0008
 
#define USBCAMD_STOP_STREAM   0x00000001
 
#define USBCAMD_START_STREAM   0x00000000
 
#define ILOGENTRY(sig, info1, info2, info3)
 
#define USBCAMD_VERSION_200   0x200
 

Typedefs

typedef struct _pipe_config_descriptor USBCAMD_Pipe_Config_Descriptor
 
typedef struct _pipe_config_descriptorPUSBCAMD_Pipe_Config_Descriptor
 
typedef NTSTATUS(NTAPIPCOMMAND_COMPLETE_FUNCTION) (IN PVOID DeviceContext, IN OUT PVOID CommandContext, IN NTSTATUS NtStatus)
 
typedef VOID(NTAPIPSTREAM_RECEIVE_PACKET) (IN PVOID Srb, IN PVOID DeviceContext, IN PBOOLEAN Completed)
 
typedef NTSTATUS(NTAPIPCAM_INITIALIZE_ROUTINE) (PDEVICE_OBJECT BusDeviceObject, PVOID DeviceContext)
 
typedef NTSTATUS(NTAPIPCAM_CONFIGURE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PUSBD_INTERFACE_INFORMATION Interface, IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, IN PLONG DataPipeIndex, IN PLONG SyncPipeIndex)
 
typedef NTSTATUS(NTAPIPCAM_CONFIGURE_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PUSBD_INTERFACE_INFORMATION Interface, IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, IN ULONG PipeConfigListSize, IN PUSBCAMD_Pipe_Config_Descriptor PipeConfig, IN PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
 
typedef NTSTATUS(NTAPIPCAM_START_CAPTURE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)
 
typedef NTSTATUS(NTAPIPCAM_START_CAPTURE_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN ULONG StreamNumber)
 
typedef NTSTATUS(NTAPIPCAM_ALLOCATE_BW_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PULONG RawFrameLength, IN PVOID Format)
 
typedef NTSTATUS(NTAPIPCAM_ALLOCATE_BW_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PULONG RawFrameLength, IN PVOID Format, IN ULONG StreamNumber)
 
typedef NTSTATUS(NTAPIPCAM_FREE_BW_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)
 
typedef NTSTATUS(NTAPIPCAM_FREE_BW_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN ULONG StreamNumber)
 
typedef VOID(NTAPIPADAPTER_RECEIVE_PACKET_ROUTINE) (IN OUT PHW_STREAM_REQUEST_BLOCK Srb)
 
typedef NTSTATUS(NTAPIPCAM_STOP_CAPTURE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)
 
typedef NTSTATUS(NTAPIPCAM_STOP_CAPTURE_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN ULONG StreamNumber)
 
typedef ULONG(NTAPIPCAM_PROCESS_PACKET_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID CurrentFrameContext, IN PUSBD_ISO_PACKET_DESCRIPTOR SyncPacket OPTIONAL, IN PVOID SyncBuffer OPTIONAL, IN PUSBD_ISO_PACKET_DESCRIPTOR DataPacket OPTIONAL, IN OUT PVOID DataBuffer, OUT PBOOLEAN FrameComplete, OUT PBOOLEAN NextFrameIsStill)
 
typedef ULONG(NTAPIPCAM_PROCESS_PACKET_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID CurrentFrameContext, IN PUSBD_ISO_PACKET_DESCRIPTOR SyncPacket OPTIONAL, IN PVOID SyncBuffer OPTIONAL, IN PUSBD_ISO_PACKET_DESCRIPTOR DataPacket OPTIONAL, IN OUT PVOID DataBuffer, OUT PBOOLEAN FrameComplete, OUT PULONG PacketFlag, OUT PULONG ValidDataOffset)
 
typedef VOID(NTAPIPCAM_NEW_FRAME_ROUTINE) (IN PVOID DeviceContext, IN PVOID FrameContext)
 
typedef VOID(NTAPIPCAM_NEW_FRAME_ROUTINE_EX) (IN PVOID DeviceContext, IN PVOID FrameContext, IN ULONG StreamNumber, OUT PULONG FrameLength)
 
typedef NTSTATUS(NTAPIPCAM_PROCESS_RAW_FRAME_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID FrameContext, IN PVOID FrameBuffer, IN ULONG FrameLength, OUT PVOID RawFrameBuffer, IN ULONG RawFrameLength, IN ULONG NumberOfPackets, OUT PULONG BytesReturned)
 
typedef NTSTATUS(NTAPIPCAM_PROCESS_RAW_FRAME_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID FrameContext, IN PVOID FrameBuffer, IN ULONG FrameLength, OUT PVOID RawFrameBuffer, IN ULONG RawFrameLength, IN ULONG NumberOfPackets, OUT PULONG BytesReturned, IN ULONG ActualRawFrameLength, IN ULONG StreamNumber)
 
typedef NTSTATUS(NTAPIPCAM_STATE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)
 
typedef struct _USBCAMD_DEVICE_DATA USBCAMD_DEVICE_DATA
 
typedef struct _USBCAMD_DEVICE_DATAPUSBCAMD_DEVICE_DATA
 
typedef struct _USBCAMD_DEVICE_DATA2 USBCAMD_DEVICE_DATA2
 
typedef struct _USBCAMD_DEVICE_DATA2PUSBCAMD_DEVICE_DATA2
 
typedef NTSTATUS(NTAPIPFNUSBCAMD_SetVideoFormat) (IN PVOID DeviceContext, IN PHW_STREAM_REQUEST_BLOCK pSrb)
 
typedef NTSTATUS(NTAPIPFNUSBCAMD_WaitOnDeviceEvent) (IN PVOID DeviceContext, IN ULONG PipeIndex, IN PVOID Buffer, IN ULONG BufferLength, IN PCOMMAND_COMPLETE_FUNCTION EventComplete, IN PVOID EventContext, IN BOOLEAN LoopBack)
 
typedef NTSTATUS(NTAPIPFNUSBCAMD_CancelBulkReadWrite) (IN PVOID DeviceContext, IN ULONG PipeIndex)
 
typedef NTSTATUS(NTAPIPFNUSBCAMD_SetIsoPipeState) (IN PVOID DeviceContext, IN ULONG PipeStateFlags)
 
typedef NTSTATUS(NTAPIPFNUSBCAMD_BulkReadWrite) (IN PVOID DeviceContext, IN USHORT PipeIndex, IN PVOID Buffer, IN ULONG BufferLength, IN PCOMMAND_COMPLETE_FUNCTION CommandComplete, IN PVOID CommandContext)
 
typedef struct _USBCAMD_INTERFACE USBCAMD_INTERFACE
 
typedef struct _USBCAMD_INTERFACEPUSBCAMD_INTERFACE
 

Enumerations

enum  USBCAMD_CamControlFlags { USBCAMD_CamControlFlag_NoVideoRawProcessing = 1, USBCAMD_CamControlFlag_NoStillRawProcessing = 2, USBCAMD_CamControlFlag_AssociatedFormat = 4, USBCAMD_CamControlFlag_EnableDeviceEvents = 8 }
 

Functions

 DEFINE_GUID (GUID_USBCAMD_INTERFACE, 0x2bcb75c0, 0xb27f, 0x11d1, 0xba, 0x41, 0x0, 0xa0, 0xc9, 0xd, 0x2b, 0x5)
 
USBCAMAPI ULONG NTAPI USBCAMD_DriverEntry (IN PVOID Context1, IN PVOID Context2, IN ULONG DeviceContextSize, IN ULONG FrameContextSize, IN PADAPTER_RECEIVE_PACKET_ROUTINE ReceivePacket)
 
USBCAMAPI PVOID NTAPI USBCAMD_AdapterReceivePacket (IN PHW_STREAM_REQUEST_BLOCK Srb, IN PUSBCAMD_DEVICE_DATA DeviceData, IN PDEVICE_OBJECT *DeviceObject, IN BOOLEAN NeedsCompletion)
 
USBCAMAPI NTSTATUS NTAPI USBCAMD_ControlVendorCommand (IN PVOID DeviceContext, IN UCHAR Request, IN USHORT Value, IN USHORT Index, IN OUT PVOID Buffer, IN OUT PULONG BufferLength, IN BOOLEAN GetData, IN PCOMMAND_COMPLETE_FUNCTION CommandComplete OPTIONAL, IN PVOID CommandContext OPTIONAL)
 
USBCAMAPI NTSTATUS NTAPI USBCAMD_SelectAlternateInterface (IN PVOID DeviceContext, IN OUT PUSBD_INTERFACE_INFORMATION RequestInterface)
 
USBCAMAPI NTSTATUS NTAPI USBCAMD_GetRegistryKeyValue (IN HANDLE Handle, IN PWCHAR KeyNameString, IN ULONG KeyNameStringLength, IN PVOID Data, IN ULONG DataLength)
 
USBCAMAPI ULONG NTAPI USBCAMD_InitializeNewInterface (IN PVOID DeviceContext, IN PVOID DeviceData, IN ULONG Version, IN ULONG CamControlFlag)
 

Macro Definition Documentation

◆ ILOGENTRY

#define ILOGENTRY (   sig,
  info1,
  info2,
  info3 
)

Definition at line 235 of file usbcamdi.h.

◆ USBCAMAPI

#define USBCAMAPI   DECLSPEC_IMPORT

Definition at line 32 of file usbcamdi.h.

◆ USBCAMD_DATA_PIPE

#define USBCAMD_DATA_PIPE   0x0001

Definition at line 40 of file usbcamdi.h.

◆ USBCAMD_DONT_CARE_PIPE

#define USBCAMD_DONT_CARE_PIPE   0x0008

Definition at line 43 of file usbcamdi.h.

◆ USBCAMD_MULTIPLEX_PIPE

#define USBCAMD_MULTIPLEX_PIPE   0x0002

Definition at line 41 of file usbcamdi.h.

◆ USBCAMD_PROCESSPACKETEX_CurrentFrameIsStill

#define USBCAMD_PROCESSPACKETEX_CurrentFrameIsStill   0x0008

Definition at line 51 of file usbcamdi.h.

◆ USBCAMD_PROCESSPACKETEX_DropFrame

#define USBCAMD_PROCESSPACKETEX_DropFrame   0x0002

Definition at line 49 of file usbcamdi.h.

◆ USBCAMD_PROCESSPACKETEX_NextFrameIsStill

#define USBCAMD_PROCESSPACKETEX_NextFrameIsStill   0x0004

Definition at line 50 of file usbcamdi.h.

◆ USBCAMD_START_STREAM

#define USBCAMD_START_STREAM   0x00000000

Definition at line 54 of file usbcamdi.h.

◆ USBCAMD_STILL_STREAM

#define USBCAMD_STILL_STREAM   0x2

Definition at line 46 of file usbcamdi.h.

◆ USBCAMD_STOP_STREAM

#define USBCAMD_STOP_STREAM   0x00000001

Definition at line 53 of file usbcamdi.h.

◆ USBCAMD_SYNC_PIPE

#define USBCAMD_SYNC_PIPE   0x0004

Definition at line 42 of file usbcamdi.h.

◆ USBCAMD_VERSION_200

#define USBCAMD_VERSION_200   0x200

Definition at line 308 of file usbcamdi.h.

◆ USBCAMD_VIDEO_STILL_STREAM

#define USBCAMD_VIDEO_STILL_STREAM   (USBCAMD_VIDEO_STREAM | USBCAMD_STILL_STREAM)

Definition at line 47 of file usbcamdi.h.

◆ USBCAMD_VIDEO_STREAM

#define USBCAMD_VIDEO_STREAM   0x1

Definition at line 45 of file usbcamdi.h.

Typedef Documentation

◆ PADAPTER_RECEIVE_PACKET_ROUTINE

typedef VOID(NTAPI * PADAPTER_RECEIVE_PACKET_ROUTINE) (IN OUT PHW_STREAM_REQUEST_BLOCK Srb)

Definition at line 137 of file usbcamdi.h.

◆ PCAM_ALLOCATE_BW_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_ALLOCATE_BW_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PULONG RawFrameLength, IN PVOID Format)

Definition at line 111 of file usbcamdi.h.

◆ PCAM_ALLOCATE_BW_ROUTINE_EX

typedef NTSTATUS(NTAPI * PCAM_ALLOCATE_BW_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PULONG RawFrameLength, IN PVOID Format, IN ULONG StreamNumber)

Definition at line 118 of file usbcamdi.h.

◆ PCAM_CONFIGURE_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_CONFIGURE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PUSBD_INTERFACE_INFORMATION Interface, IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, IN PLONG DataPipeIndex, IN PLONG SyncPipeIndex)

Definition at line 81 of file usbcamdi.h.

◆ PCAM_CONFIGURE_ROUTINE_EX

typedef NTSTATUS(NTAPI * PCAM_CONFIGURE_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PUSBD_INTERFACE_INFORMATION Interface, IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, IN ULONG PipeConfigListSize, IN PUSBCAMD_Pipe_Config_Descriptor PipeConfig, IN PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)

Definition at line 90 of file usbcamdi.h.

◆ PCAM_FREE_BW_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_FREE_BW_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)

Definition at line 126 of file usbcamdi.h.

◆ PCAM_FREE_BW_ROUTINE_EX

typedef NTSTATUS(NTAPI * PCAM_FREE_BW_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN ULONG StreamNumber)

Definition at line 131 of file usbcamdi.h.

◆ PCAM_INITIALIZE_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_INITIALIZE_ROUTINE) (PDEVICE_OBJECT BusDeviceObject, PVOID DeviceContext)

Definition at line 76 of file usbcamdi.h.

◆ PCAM_NEW_FRAME_ROUTINE

typedef VOID(NTAPI * PCAM_NEW_FRAME_ROUTINE) (IN PVOID DeviceContext, IN PVOID FrameContext)

Definition at line 177 of file usbcamdi.h.

◆ PCAM_NEW_FRAME_ROUTINE_EX

typedef VOID(NTAPI * PCAM_NEW_FRAME_ROUTINE_EX) (IN PVOID DeviceContext, IN PVOID FrameContext, IN ULONG StreamNumber, OUT PULONG FrameLength)

Definition at line 182 of file usbcamdi.h.

◆ PCAM_PROCESS_PACKET_ROUTINE

typedef ULONG(NTAPI * PCAM_PROCESS_PACKET_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID CurrentFrameContext, IN PUSBD_ISO_PACKET_DESCRIPTOR SyncPacket OPTIONAL, IN PVOID SyncBuffer OPTIONAL, IN PUSBD_ISO_PACKET_DESCRIPTOR DataPacket OPTIONAL, IN OUT PVOID DataBuffer, OUT PBOOLEAN FrameComplete, OUT PBOOLEAN NextFrameIsStill)

Definition at line 152 of file usbcamdi.h.

◆ PCAM_PROCESS_PACKET_ROUTINE_EX

typedef ULONG(NTAPI * PCAM_PROCESS_PACKET_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID CurrentFrameContext, IN PUSBD_ISO_PACKET_DESCRIPTOR SyncPacket OPTIONAL, IN PVOID SyncBuffer OPTIONAL, IN PUSBD_ISO_PACKET_DESCRIPTOR DataPacket OPTIONAL, IN OUT PVOID DataBuffer, OUT PBOOLEAN FrameComplete, OUT PULONG PacketFlag, OUT PULONG ValidDataOffset)

Definition at line 164 of file usbcamdi.h.

◆ PCAM_PROCESS_RAW_FRAME_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_PROCESS_RAW_FRAME_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID FrameContext, IN PVOID FrameBuffer, IN ULONG FrameLength, OUT PVOID RawFrameBuffer, IN ULONG RawFrameLength, IN ULONG NumberOfPackets, OUT PULONG BytesReturned)

Definition at line 189 of file usbcamdi.h.

◆ PCAM_PROCESS_RAW_FRAME_ROUTINE_EX

typedef NTSTATUS(NTAPI * PCAM_PROCESS_RAW_FRAME_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN PVOID FrameContext, IN PVOID FrameBuffer, IN ULONG FrameLength, OUT PVOID RawFrameBuffer, IN ULONG RawFrameLength, IN ULONG NumberOfPackets, OUT PULONG BytesReturned, IN ULONG ActualRawFrameLength, IN ULONG StreamNumber)

Definition at line 201 of file usbcamdi.h.

◆ PCAM_START_CAPTURE_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_START_CAPTURE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)

Definition at line 100 of file usbcamdi.h.

◆ PCAM_START_CAPTURE_ROUTINE_EX

typedef NTSTATUS(NTAPI * PCAM_START_CAPTURE_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN ULONG StreamNumber)

Definition at line 105 of file usbcamdi.h.

◆ PCAM_STATE_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_STATE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)

Definition at line 215 of file usbcamdi.h.

◆ PCAM_STOP_CAPTURE_ROUTINE

typedef NTSTATUS(NTAPI * PCAM_STOP_CAPTURE_ROUTINE) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext)

Definition at line 141 of file usbcamdi.h.

◆ PCAM_STOP_CAPTURE_ROUTINE_EX

typedef NTSTATUS(NTAPI * PCAM_STOP_CAPTURE_ROUTINE_EX) (IN PDEVICE_OBJECT BusDeviceObject, IN PVOID DeviceContext, IN ULONG StreamNumber)

Definition at line 146 of file usbcamdi.h.

◆ PCOMMAND_COMPLETE_FUNCTION

typedef NTSTATUS(NTAPI * PCOMMAND_COMPLETE_FUNCTION) (IN PVOID DeviceContext, IN OUT PVOID CommandContext, IN NTSTATUS NtStatus)

Definition at line 64 of file usbcamdi.h.

◆ PFNUSBCAMD_BulkReadWrite

typedef NTSTATUS(NTAPI * PFNUSBCAMD_BulkReadWrite) (IN PVOID DeviceContext, IN USHORT PipeIndex, IN PVOID Buffer, IN ULONG BufferLength, IN PCOMMAND_COMPLETE_FUNCTION CommandComplete, IN PVOID CommandContext)

Definition at line 300 of file usbcamdi.h.

◆ PFNUSBCAMD_CancelBulkReadWrite

typedef NTSTATUS(NTAPI * PFNUSBCAMD_CancelBulkReadWrite) (IN PVOID DeviceContext, IN ULONG PipeIndex)

Definition at line 290 of file usbcamdi.h.

◆ PFNUSBCAMD_SetIsoPipeState

typedef NTSTATUS(NTAPI * PFNUSBCAMD_SetIsoPipeState) (IN PVOID DeviceContext, IN ULONG PipeStateFlags)

Definition at line 295 of file usbcamdi.h.

◆ PFNUSBCAMD_SetVideoFormat

typedef NTSTATUS(NTAPI * PFNUSBCAMD_SetVideoFormat) (IN PVOID DeviceContext, IN PHW_STREAM_REQUEST_BLOCK pSrb)

Definition at line 275 of file usbcamdi.h.

◆ PFNUSBCAMD_WaitOnDeviceEvent

typedef NTSTATUS(NTAPI * PFNUSBCAMD_WaitOnDeviceEvent) (IN PVOID DeviceContext, IN ULONG PipeIndex, IN PVOID Buffer, IN ULONG BufferLength, IN PCOMMAND_COMPLETE_FUNCTION EventComplete, IN PVOID EventContext, IN BOOLEAN LoopBack)

Definition at line 280 of file usbcamdi.h.

◆ PSTREAM_RECEIVE_PACKET

typedef VOID(NTAPI * PSTREAM_RECEIVE_PACKET) (IN PVOID Srb, IN PVOID DeviceContext, IN PBOOLEAN Completed)

Definition at line 70 of file usbcamdi.h.

◆ PUSBCAMD_DEVICE_DATA

◆ PUSBCAMD_DEVICE_DATA2

◆ PUSBCAMD_INTERFACE

◆ PUSBCAMD_Pipe_Config_Descriptor

◆ USBCAMD_DEVICE_DATA

◆ USBCAMD_DEVICE_DATA2

◆ USBCAMD_INTERFACE

◆ USBCAMD_Pipe_Config_Descriptor

Enumeration Type Documentation

◆ USBCAMD_CamControlFlags

Enumerator
USBCAMD_CamControlFlag_NoVideoRawProcessing 
USBCAMD_CamControlFlag_NoStillRawProcessing 
USBCAMD_CamControlFlag_AssociatedFormat 
USBCAMD_CamControlFlag_EnableDeviceEvents 

Definition at line 56 of file usbcamdi.h.

Function Documentation

◆ DEFINE_GUID()

DEFINE_GUID ( GUID_USBCAMD_INTERFACE  ,
0x2bcb75c0  ,
0xb27f  ,
0x11d1  ,
0xba  ,
0x41  ,
0x0  ,
0xa0  ,
0xc9  ,
0xd  ,
0x2b  ,
0x5   
)

◆ USBCAMD_AdapterReceivePacket()

USBCAMAPI PVOID NTAPI USBCAMD_AdapterReceivePacket ( IN PHW_STREAM_REQUEST_BLOCK  Srb,
IN PUSBCAMD_DEVICE_DATA  DeviceData,
IN PDEVICE_OBJECT DeviceObject,
IN BOOLEAN  NeedsCompletion 
)

◆ USBCAMD_ControlVendorCommand()

USBCAMAPI NTSTATUS NTAPI USBCAMD_ControlVendorCommand ( IN PVOID  DeviceContext,
IN UCHAR  Request,
IN USHORT  Value,
IN USHORT  Index,
IN OUT PVOID  Buffer,
IN OUT PULONG  BufferLength,
IN BOOLEAN  GetData,
IN PCOMMAND_COMPLETE_FUNCTION CommandComplete  OPTIONAL,
IN PVOID CommandContext  OPTIONAL 
)

◆ USBCAMD_DriverEntry()

USBCAMAPI ULONG NTAPI USBCAMD_DriverEntry ( IN PVOID  Context1,
IN PVOID  Context2,
IN ULONG  DeviceContextSize,
IN ULONG  FrameContextSize,
IN PADAPTER_RECEIVE_PACKET_ROUTINE  ReceivePacket 
)

◆ USBCAMD_GetRegistryKeyValue()

USBCAMAPI NTSTATUS NTAPI USBCAMD_GetRegistryKeyValue ( IN HANDLE  Handle,
IN PWCHAR  KeyNameString,
IN ULONG  KeyNameStringLength,
IN PVOID  Data,
IN ULONG  DataLength 
)

◆ USBCAMD_InitializeNewInterface()

USBCAMAPI ULONG NTAPI USBCAMD_InitializeNewInterface ( IN PVOID  DeviceContext,
IN PVOID  DeviceData,
IN ULONG  Version,
IN ULONG  CamControlFlag 
)

◆ USBCAMD_SelectAlternateInterface()

USBCAMAPI NTSTATUS NTAPI USBCAMD_SelectAlternateInterface ( IN PVOID  DeviceContext,
IN OUT PUSBD_INTERFACE_INFORMATION  RequestInterface 
)