Functions | |
void | Record_Instance_Handle (const void *handle) |
Registers the instance of the application with the HOOPS dynamic link library. More... | |
void Record_Instance_Handle | ( | const void * | handle | ) |
Registers the instance of the application with the HOOPS dynamic link library.
handle | - Value returned by GetModuleHandle. Passed by reference. |
This routine records the application's instance handle for the HOOPS dynamically link library. Under normal circumstances, this routine is not used by an application program. It is documented here for completeness. The routine exists solely for WINCMAIN.C source which calls this routine. WINMAIN.C is a provided source file that when included in the makefile for an application, allows the nonWindows aware programs to execute under Microsoft Windows.
This routine is only useful on Microsoft Windows. If called for HOOPS on any other platform, it is ignored unless sanity checking is enabled, in which case a warning message is issued.