VPEND_GETPENINFO

Copies the pen information for the current virtual machine (VM) into a DRV_PENINFO structure supplied by the caller.

lParam1

Pointer to the _PENINFO structure where the virtual pen driver must put the pen information.

lParam2

Should be set to zero.

For a definition of the members of the DRV_PENINFO structure see the "Reference" section in About the Pen Driver.

The sample pen driver does use a VPEND_GETPENINFO message to get the pen information for the current VM because the sample pen driver supports only one VM, the system VM. The sample pen driver can get the pen information for the system VM out of the DRV_PENINFO structure that it maintains.