VC_GetHWInfo

PVOID
VC_GetHWInfo(
   PDEVICE_INFO
pDevInfo
);

The VC_GetHWInfo function returns a pointer to the driver-specified structure that was allocated by a previous call to VC_Init.

Parameters

pDevInfo

Pointer to the DEVICE_INFO structure returned by VC_Init.

Return Value

Pointer to the driver-specified structure.

Comments

When a kernel-mode video capture driver calls VC_Init, it specifies the size of a structure for which nonpaged space is allocated within the device object’s device extension area. The driver can call VC_GetHWInfo to obtain the address of the area that was allocated for this structure. Drivers can use this structure to store device-specific context information.

For more information about device objects and device extensions, see the Kernel-Mode Drivers Reference.