windows-nt/Source/XPSP1/NT/net/qos/tc/dll/tcglob.c
2020-09-26 16:20:57 +08:00

94 lines
963 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
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();
}