## Virtual Device Driver Reference for OS/2

[prev][next][parent][TOC]

### VDHInstallFaultHook Parameter - PageFaultHandlerFcnPtr

PageFaultHandlerFcnPtr (PFAULTHOOK) Page fault handler function.

The PageFaultHandlerFcnPtr function pointer contains the address of a function with the following interface:

     VOID  HOOKENTRY PageFaultHandler(pVDM)

           ENTRY PARAMETERS  pVDM - Address of the page in which fault occurred

           EXIT-SUCCESS      None

           EXIT-FAILURE      None

           CONTEXT           DOS session-task