DRV_Query

Determines whether the version 2.0 driver supports a given message.

lParam1

The low-order word contains the message that the sender is inquiring about.

lParam2

Should be set to zero.

The following example queries the driver to determine if it supports playback.


HDRVR hPenDrvr;
if( hPenDrvr=OpenDriver( "pen",0L,0L ) )
{
  if( !SendDriverMessage( hPenDrvr, DRV_Query, DRV_PenPlayBack, 0L ) )
  MessageBox( GetFocus(), "DRV_PenPlayBack not supported",
         "Querying Pen Driver", MB_OK);
  CloseDriver( hPenDrvr );
}