1 /* 2 * PROJECT: ReactOS Printing Stack Marshalling Functions 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Marshalling definitions for DATATYPES_INFO_* and PRINTPROCESSOR_INFO_* 5 * COPYRIGHT: Copyright 2015-2018 Colin Finck (colin@reactos.org) 6 */ 7 8 static const MARSHALLING DatatypesInfo1Marshalling = { 9 sizeof(DATATYPES_INFO_1W), 10 { 11 { FIELD_OFFSET(DATATYPES_INFO_1W, pName), RTL_FIELD_SIZE(DATATYPES_INFO_1W, pName), RTL_FIELD_SIZE(DATATYPES_INFO_1W, pName), TRUE }, 12 { MAXDWORD, 0, 0, FALSE } 13 } 14 }; 15 16 static const MARSHALLING PrintProcessorInfo1Marshalling = { 17 sizeof(PRINTPROCESSOR_INFO_1W), 18 { 19 { FIELD_OFFSET(PRINTPROCESSOR_INFO_1W, pName), RTL_FIELD_SIZE(PRINTPROCESSOR_INFO_1W, pName), RTL_FIELD_SIZE(PRINTPROCESSOR_INFO_1W, pName), TRUE }, 20 { MAXDWORD, 0, 0, FALSE } 21 } 22 }; 23