Leaked source code of windows server 2003
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.
|
|
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2001 Microsoft Corporation
//
// Module Name:
// libvars.h
//
// Abstract:
// definitions (types, consts, vars) visible only within library
// functions. Also prototypes for functions visible only within
// the library
//
//////////////////////////////////////////////////////////////////////////
#ifndef _TDILIB_VARS_
#define _TDILIB_VARS_
//
// externs for global variables visible only within library
//
extern HANDLE hTdiSampleDriver; // handle used to call driver
extern CRITICAL_SECTION LibCriticalSection; // serialize DeviceIoControl calls...
//
// functions from utils.cpp
//
LONG TdiLibDeviceIO( ULONG ulControlCode, PSEND_BUFFER psbInBuffer, PRECEIVE_BUFFER prbOutBuffer );
LONG TdiLibStartDeviceIO( ULONG ulControlCode, PSEND_BUFFER psbInBuffer, PRECEIVE_BUFFER prbOutBuffer, OVERLAPPED *pOverLapped );
LONG TdiLibWaitForDeviceIO( OVERLAPPED *pOverlapped );
#endif // _TDILIB_VARS_
//////////////////////////////////////////////////////////////////////////
// End of libvars.h
//////////////////////////////////////////////////////////////////////////
|