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.
 
 
 
 
 
 

27 lines
745 B

#ifndef _PDEV_H
#define _PDEV_H
#include <minidrv.h>
#include <stdio.h>
#include <prcomoem.h>
#include <strsafe.h> // For privention of security isusues.
#define VALID_PDEVOBJ(pdevobj) \
((pdevobj) && (pdevobj)->dwSize >= sizeof(DEVOBJ) && \
(pdevobj)->hEngine && (pdevobj)->hPrinter && \
(pdevobj)->pPublicDM && (pdevobj)->pDrvProcs && \
(pdevobj)->pdevOEM )
#define ASSERT_VALID_PDEVOBJ(pdevobj) ASSERT(VALID_PDEVOBJ(pdevobj))
//
// OEM Signature and version.
//
#define OEM_SIGNATURE 'EPAG' // EPSPN ESC/Page series dll
// #define DLLTEXT(s) __TEXT("EPAG: ") __TEXT(s)
#define DLLTEXT(s) "EPAG: " s
#define OEM_VERSION 0x00010000L
#endif // _PDEV_H