Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
maindll.cpp File Reference
#include <os2.h>

Go to the source code of this file.

Functions

int _CRT_init (void)
void _CRT_term (void)
void __ctordtorInit (void)
void __ctordtorTerm (void)
unsigned long _System _DLL_InitTerm (unsigned long hModule, unsigned long ulFlag)

Variables

HMODULE hInst

Function Documentation

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

unsigned long _System _DLL_InitTerm ( unsigned long  hModule,
unsigned long  ulFlag 
)

Definition at line 50 of file maindll.cpp.

{
  switch (ulFlag) {
  case 0 :
    // Init: Prime compiler run-time and construct static C++ objects.
    if ( _CRT_init() == -1 ) {
      return 0UL;
    } else {
      __ctordtorInit();
      hInst = hModule;
    }
    break;
    
  case 1 :
    __ctordtorTerm();
    _CRT_term();
    hInst = NULLHANDLE;
    break;
    
  default  :
    return 0UL;
  }

  return 1;
}

Here is the call graph for this function:


Variable Documentation

HMODULE hInst

Definition at line 40 of file maindll.cpp.