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.
 
 
 
 
 
 

45 lines
931 B

/*++
Copyright (C) 1997 - 1999 Microsoft Corporation
--*/
#ifndef _PDEV_H
#define _PDEV_H
#include <minidrv.h>
//
// Debug text.
//
#define ERRORTEXT(s) __TEXT("ERROR ") DLLTEXT(s)
#define TESTSTRING "Callback for Declasers."
typedef struct tag_OEMUD_EXTRADATA {
OEM_DMEXTRAHEADER dmExtraHdr;
BYTE cbTestString[sizeof(TESTSTRING)];
} OEMUD_EXTRADATA, *POEMUD_EXTRADATA;
//
// OEM Signature and version.
//
#define OEM_SIGNATURE 'DCLS' // Declaser series dll
#define DLLTEXT(s) __TEXT("DCLSRES: ") __TEXT(s)
#define OEM_VERSION 0x00010000L
//
// Memory allocation
//
#define MemAlloc(size) ((PVOID) LocalAlloc(LMEM_FIXED, (size)))
#define MemAllocZ(size) ((PVOID) LocalAlloc(LPTR, (size)))
#define MemFree(p) { if (p) LocalFree((HLOCAL) (p)); }
#ifdef DBG
#define DebugMsg
#else
#define DebugMsg
#endif
#endif