## Physical Device Driver Reference

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

### RMCALLS Library Data

The RMCALLS library references the following four variables:

PFN Device_Help;
ULONG RMFlags = NULL;
PFNRM RM_Help0 = NULL;
PFNRM RM_Help3 = NULL;

The PFN Device_Help variable must be initialized by your driver prior to calling any Resource Manager services. It is expected to contain the Device Help entry point provided in the OS/2 Init Request Packet your driver receives.

Prior to calling any Resource Manager services, the remaining data variables must be initialized to zero. Specify C-initializers when declaring the variables.

These variables must be allocated by your driver. If you plan to use Resource Manager services after your driver has completed initialization, you must ensure that these variables are not discarded.

Note: If you do not declare these variables, a linker error message will occur, indicating that they are missing.