CDM_Load
The CDM's load-time entry point for initializing and registering the CDM.
LONG CDM_Load ( LONG loadHandle, LONG screenID, BYTE *commandLine );
The following table lists return values and descriptions.
CDM_Load is the initial entry point for a CDM, and it performs CDM initialization and registration. This function becomes visible to the OS when the definition (.def) file is processed by the NLMLINK utility. When the CDM is loaded, the OS calls CDM_Load passing it three parameters, loadHandle, screenID, and commandLine. loadHandle and screenID are generated by the OS to be used in allocating resources and for outputting console error messages that might occur during the load process. commandLine is a pointer to the command line arguments specified by the system operator at load time. These arguments can specify any configuration required by the CDM, provided that the CDM supports command line options.