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.
93 lines
1.0 KiB
93 lines
1.0 KiB
/*++
|
|
|
|
Copyright (c) 1996 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
tcglob.c
|
|
|
|
Abstract:
|
|
|
|
This module contains global variables.
|
|
|
|
Author:
|
|
|
|
Jim Stewart (jstew) August 14, 1996
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#include "precomp.h"
|
|
#pragma hdrstop
|
|
|
|
|
|
//
|
|
// global data
|
|
//
|
|
ULONG DebugMask = 0;
|
|
BOOL NTPlatform = FALSE;
|
|
LPWSCONTROL WsCtrl = NULL;
|
|
|
|
|
|
|
|
|
|
BOOL
|
|
InitializeGlobalData()
|
|
|
|
/*++
|
|
|
|
Description:
|
|
This routine initializes the global data.
|
|
|
|
Arguments:
|
|
|
|
none
|
|
|
|
Return Value:
|
|
|
|
none
|
|
|
|
--*/
|
|
{
|
|
|
|
DebugMask = DEBUG_FILE | DEBUG_LOCKS;
|
|
InterfaceHandleTable = 0;
|
|
|
|
InitializeListHead( &InterfaceList );
|
|
|
|
InitLock( InterfaceListLock );
|
|
|
|
INIT_DBG_MEMORY();
|
|
|
|
return( TRUE );
|
|
|
|
}
|
|
|
|
VOID
|
|
DeInitializeGlobalData()
|
|
|
|
/*++
|
|
|
|
Description:
|
|
This routine de-initializes the global data.
|
|
|
|
Arguments:
|
|
|
|
none
|
|
|
|
Return Value:
|
|
|
|
none
|
|
|
|
--*/
|
|
{
|
|
|
|
InterfaceHandleTable = 0;
|
|
|
|
DeleteLock( InterfaceListLock );
|
|
|
|
DEINIT_DBG_MEMORY();
|
|
|
|
}
|
|
|