ConfigDialog


DWORD ConfigDialog(HDRVR hPenDriver, HANDLE hParent );

Provides an entry point which displays the pen driver configuration dialog.

hPenDriver

Not used; caller should set this parameter to NULL.

hParent

Handle to the window in which to display the pen driver configuration dialog box. If the caller sets this parameter to NULL, then the window with focus is used.


In the sample driver code, the ConfigDialog function calls the ConfigDlgProc function in WIN40DLG.C to handle the dialog messages, access the pen hardware information in the Windows 95 registry, and make any necessary changes to the _HARDWAREINFO structure. For a definition of the members of the _HARDWAREINFO structure, see the "References" section in About the Pen Driver.