#ifndef _PDEV_H #define _PDEV_H #include #include #include #include // 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