windows-nt/Source/XPSP1/NT/base/fs/rdr2/drt/daytona/rxdrt.h
2020-09-26 16:20:57 +08:00

75 lines
1.3 KiB
C
Raw Permalink 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) 1991 Microsoft Corporation
Module Name:
rxdrt.h
Abstract:
Private header file which defines the global data for the Rx DRT
Author:
Balan Sethu Raman -- Created from the workstation service code
--*/
#ifndef _RXDRT_INCLUDED_
#define _RXDRT_INCLUDED_
#include <nt.h> // NT definitions
#include <ntrtl.h> // NT runtime library definitions
#include <nturtl.h>
#include <windef.h> // Win32 type definitions
#include <winbase.h> // Win32 base API prototypes
#include <winsvc.h> // Win32 service control APIs
//
// Debug trace level bits for turning on/off trace statements in the
// Workstation service
//
//
// All debug flags on
//
#define RXDRT_DEBUG_ALL 0xFFFFFFFF
#if DBG
#define STATIC
extern DWORD RxDrtTrace;
#define DEBUG if (TRUE)
#define IF_DEBUG(Function) if (RxDrtTrace & WKSTA_DEBUG_ ## Function)
#else
#define STATIC static
#define DEBUG if (FALSE)
#define IF_DEBUG(Function) if (FALSE)
#endif // DBG
//
// Time for the sender of a start or stop request to the Workstation
// service to wait (in milliseconds) before checking on the
// Workstation service again to see if it is done.
//
#define WS_WAIT_HINT_TIME 60000 // 60 seconds
extern DWORD RxDrtTrace;
#endif // ifndef _RXDRT_INCLUDED_