Back to index

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

Go to the source code of this file.

Functions

int CALLBACK LibMain (HINSTANCE hInstLocal, WORD wDataSegment, WORD wHeapSize, LPSTR lpszCmdLine)

Variables

HINSTANCE hInstance

Function Documentation

int CALLBACK LibMain ( HINSTANCE  hInstLocal,
WORD  wDataSegment,
WORD  wHeapSize,
LPSTR  lpszCmdLine 
)

Definition at line 89 of file maindll.cpp.

{
  hInstance = hInstLocal;
  /* return result 1 = success; 0 = fail */
  if (hInstance != NULL) 
         return 1;
  else
         return 0;
}

Variable Documentation

Definition at line 46 of file maindll.cpp.