Annotation of mstools/samples/sdktools/windiff/gutils.c, revision 1.1.1.1

1.1       root        1: 
                      2: /******************************************************************************\
                      3: *       This is a part of the Microsoft Source Code Samples. 
                      4: *       Copyright (C) 1993 Microsoft Corporation.
                      5: *       All rights reserved. 
                      6: *       This source code is only intended as a supplement to 
                      7: *       Microsoft Development Tools and/or WinHelp documentation.
                      8: *       See these sources for detailed information regarding the 
                      9: *       Microsoft samples programs.
                     10: \******************************************************************************/
                     11: 
                     12: /****************************** Module Header *******************************
                     13: * Module Name: GUTILS.C
                     14: *
                     15: * Entry point for GUTILS.DLL
                     16: *
                     17: * Functions:
                     18: *
                     19: * DllMain()
                     20: *
                     21: ****************************************************************************/
                     22: 
                     23: #include <windows.h>
                     24: 
                     25: #include "gutils.h"
                     26: #include "gutilsrc.h"
                     27: 
                     28: /* dll global data */
                     29: HANDLE hLibInst;
                     30: extern void gtab_init(void);
                     31: extern BOOL StatusInit(HANDLE);
                     32: 
                     33: BOOL APIENTRY DllMain(HANDLE hInstance, DWORD dwReason, LPVOID reserved)
                     34: {
                     35:         if (dwReason == DLL_PROCESS_ATTACH) {
                     36:                 hLibInst = hInstance;
                     37:                 gtab_init();
                     38:                 StatusInit(hLibInst);
                     39:         }
                     40:         return(TRUE);
                     41: }
                     42: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.