CONFIG_INFO

typedef struct _CONFIG_INFO {
ULONG ulSize;
BYTE ulData[1];
} CONFIG_INFO, *PCONFIG_INFO;

The CONFIG_INFO structure is used to describe a customized structure of configuration information. It is defined in vcstruct.h.

Members

ulSize

Size of the customized structure.

ulData[1]

First data member of the customized structure.

Comments

The CONFIG_INFO structure is a generic structure that allows you to define customized structures for storing configuration information, and to pass pointers to those structures from your user-mode driver to your kernel-mode driver with calls to VC_ConfigDisplay, VC_ConfigFormat, and VC_ConfigSource.

To pass configuration information to your kernel-mode driver, define customized structures, fill them, and then cast them to the PCONFIG_INFO type when passing them to VC_ConfigDisplay, VC_ConfigFormat, or VC_ConfigSource. See the sample video capture drivers for examples.

Because the structures are passed from user mode to kernel mode, you cannot include pointers as structure members.