/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_MXDC
#define _INC_MXDC
#if (_WIN32_WINNT >= 0x0600)
#ifdef __cplusplus
extern "C" {
#endif
typedef struct tagMxdcEscapeHeader {
ULONG cbInput;
ULONG cbOutput;
ULONG opCode;
} MXDC_ESCAPE_HEADER_T, *P_MXDC_ESCAPE_HEADER_T;
typedef struct _tagMxdcGetFileNameData {
ULONG cbOutput;
wchar_t wszData[1];
} MXDC_GET_FILENAME_DATA_T, *P_MXDC_GET_FILENAME_DATA_T;
typedef struct tagMxdcPrintTicketData {
DWORD dwDataSize;
BYTE bData[1];
} MXDC_PRINTTICKET_DATA_T, *P_MXDC_PRINTTICKET_DATA_T;
typedef struct tagMxdcPrintTicketEscape {
MXDC_ESCAPE_HEADER_T mxdcEscape;
MXDC_PRINTTICKET_DATA_T printTicketData;
} MXDC_PRINTTICKET_ESCAPE_T, *P_MXDC_PRINTTICKET_ESCAPE_T;
typedef struct tagMxdcS0PageData {
DWORD dwSize;
BYTE bData[1];
} MXDC_S0PAGE_DATA_T, *P_MXDC_S0PAGE_DATA_T;
typedef struct tagMxdcS0PagePassthroughEscape {
MXDC_ESCAPE_HEADER_T mxdcEscape;
MXDC_S0PAGE_DATA_T xpsS0PageData;
} MXDC_S0PAGE_PASSTHROUGH_ESCAPE_T, *P_MXDC_S0PAGE_PASSTHROUGH_ESCAPE_T;
typedef struct tagMxdcXpsS0PageResource {
DWORD dwSize;
DWORD dwResourceType;
BYTE szUri[MAX_PATH];
DWORD dwDataSize;
BYTE bData[1];
} MXDC_XPS_S0PAGE_RESOURCE_T, *P_MXDC_XPS_S0PAGE_RESOURCE_T;
typedef struct tagMxdcS0PageResourceEscape {
MXDC_ESCAPE_HEADER_T mxdcEscape;
MXDC_XPS_S0PAGE_RESOURCE_T xpsS0PageResourcePassthrough;
} MXDC_S0PAGE_RESOURCE_ESCAPE_T, *P_MXDC_S0PAGE_RESOURCE_ESCAPE_T;
typedef enum tagMxdcS0PageEnums {
MXDC_RESOURCE_TTF,
MXDC_RESOURCE_JPEG,
MXDC_RESOURCE_PNG,
MXDC_RESOURCE_TIFF,
MXDC_RESOURCE_WDP,
MXDC_RESOURCE_DICTIONARY,
MXDC_RESOURCE_ICC_PROFILE,
MXDC_RESOURCE_JPEG_THUMBNAIL,
MXDC_RESOURCE_PNG_THUMBNAIL,
MXDC_RESOURCE_MAX
} MXDC_S0_PAGE_ENUMS;
#ifdef __cplusplus
}
#endif
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_MXDC*/