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.
71 lines
1009 B
71 lines
1009 B
/*++
|
|
|
|
Copyright (c) 1996 Microsoft Corporation
|
|
|
|
MODULE NAME
|
|
init.c
|
|
|
|
ABSTRACT
|
|
Initialization for the Autodial helper DLL.
|
|
|
|
AUTHOR
|
|
Anthony Discolo (adiscolo) 22-Apr-1996
|
|
|
|
REVISION HISTORY
|
|
|
|
--*/
|
|
|
|
#define UNICODE
|
|
#define _UNICODE
|
|
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
|
|
#include <stdlib.h>
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
#define DEBUGGLOBALS
|
|
#include <debug.h>
|
|
|
|
|
|
BOOL
|
|
WINAPI
|
|
InitAcsHelperDLL(
|
|
HINSTANCE hinstDLL,
|
|
DWORD fdwReason,
|
|
LPVOID lpvReserved
|
|
)
|
|
|
|
/*++
|
|
|
|
DESCRIPTION
|
|
Initialize the DLL. All we do right now is to initialize
|
|
the debug tracing library.
|
|
|
|
ARGUMENTS
|
|
hinstDLL:
|
|
|
|
fdwReason:
|
|
|
|
lpvReserved:
|
|
|
|
RETURN VALUE
|
|
Always TRUE.
|
|
|
|
--*/
|
|
|
|
{
|
|
switch (fdwReason) {
|
|
case DLL_PROCESS_ATTACH:
|
|
DisableThreadLibraryCalls(hinstDLL);
|
|
break;
|
|
|
|
case DLL_PROCESS_DETACH:
|
|
break;
|
|
|
|
default:
|
|
break;
|
|
}
|
|
return TRUE;
|
|
}
|