home *** CD-ROM | disk | FTP | other *** search
- /*
- * dllmain.c
- * Copyright 1995, NeXT Computer, Inc.
- *
- */
-
- #include <winnt-pdo.h>
- #include <windows.h>
- #include "NSRegisterDLL.h"
-
- int APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
- {
- switch( ul_reason_for_call ) {
- case DLL_PROCESS_ATTACH:
- // NSRegisterDLL will initialize the Objective-C information in this module
- return NSRegisterDLL (hModule);
- break;
- case DLL_THREAD_ATTACH:
- break;
- case DLL_THREAD_DETACH:
- break;
- case DLL_PROCESS_DETACH:
- break;
- }
- return TRUE;
- }
-