You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
752 B
55 lines
752 B
/*++
|
|
|
|
Copyright (c) 1999 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
init.c
|
|
|
|
Abstract:
|
|
|
|
Calls all initialization routines that are used by miglib.lib.
|
|
|
|
Author:
|
|
|
|
Jim Schmidt (jimschm) 08-Feb-1999
|
|
|
|
Revision History:
|
|
|
|
<alias> <date> <comments>
|
|
|
|
--*/
|
|
|
|
#include "pch.h"
|
|
|
|
HANDLE g_hHeap = NULL;
|
|
HINSTANCE g_hInst = NULL;
|
|
|
|
BOOL
|
|
WINAPI
|
|
MigUtil_Entry (
|
|
HINSTANCE hInstance,
|
|
DWORD dwReason,
|
|
LPVOID lpReserved
|
|
);
|
|
|
|
|
|
VOID
|
|
InitializeMigLib (
|
|
VOID
|
|
)
|
|
{
|
|
g_hHeap = GetProcessHeap();
|
|
g_hInst = GetModuleHandle (NULL);
|
|
|
|
MigUtil_Entry (g_hInst, DLL_PROCESS_ATTACH, NULL);
|
|
}
|
|
|
|
|
|
VOID
|
|
TerminateMigLib (
|
|
VOID
|
|
)
|
|
{
|
|
MigUtil_Entry (g_hInst, DLL_PROCESS_DETACH, NULL);
|
|
}
|