Record_Instance_Handle

Functions

void Record_Instance_Handle (const void *handle)
 Registers the instance of the application with the HOOPS dynamic link library. More...
 

Detailed Description

Function Documentation

◆ Record_Instance_Handle()

void Record_Instance_Handle ( const void *  handle)

Registers the instance of the application with the HOOPS dynamic link library.

Parameters
handle- Value returned by GetModuleHandle. Passed by reference.

DETAILS

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.

NOTES

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.

RESTRICTIONS

See also
Record_Profile_Source.