GET_PSCRIPT5_PRIVATE_DEVMODE_SIZE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// printoem.h

void GET_PSCRIPT5_PRIVATE_DEVMODE_SIZE(
  pdm
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-printoem-get_pscript5_private_devmode_size)

Description

Returns PScript5's private DEVMODE structure to allow its plugins to determine its size.

Parameters

pdm

Contains the size of the private DEVMODE structure.

Remarks

The macro is defined as follows:

#define GET_PSCRIPT5_PRIVATE_DEVMODE_SIZE(pdm) \
    ( ( (pdm)->dmDriverExtra > (FIELD_OFFSET(PSCRIPT5_PRIVATE_DEVMODE, wSize) + sizeof(WORD)) ) ? \
        ((PPSCRIPT5_PRIVATE_DEVMODE)((PBYTE)(pdm) + (pdm)->dmSize))->wSize : 0 )