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.
48 lines
1.3 KiB
48 lines
1.3 KiB
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//
|
|
// Copyright 1997-2003 Microsoft Corporation. All Rights Reserved.
|
|
//
|
|
// FILE: TTYUD.H
|
|
//
|
|
//
|
|
// PURPOSE: Define common data types, and external function prototypes
|
|
// for TTYUD kernel mode Module.
|
|
//
|
|
// PLATFORMS:
|
|
// Windows 2000, Windows XP, Windows Server 2003
|
|
//
|
|
//
|
|
#ifndef _TTYUD_H
|
|
#define _TTYUD_H
|
|
|
|
|
|
////////////////////////////////////////////////////////
|
|
// TTY UD Defines
|
|
////////////////////////////////////////////////////////
|
|
|
|
extern DWORD gdwDrvMemPoolTag;
|
|
|
|
#define MemAlloc(size) EngAllocMem(0, size, gdwDrvMemPoolTag)
|
|
#define MemAllocZ(size) EngAllocMem(FL_ZERO_MEMORY, size, gdwDrvMemPoolTag)
|
|
#define MemFree(p) { if (p) EngFreeMem(p); }
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////
|
|
// TTY UD Type Defines
|
|
////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////
|
|
// TTY UD Prototypes
|
|
////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#endif
|
|
|