17bffb703SJames Tabor /* 27bffb703SJames Tabor * PROJECT: ReactOS Printing Stack Marshalling Functions 37bffb703SJames Tabor * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 47bffb703SJames Tabor * PURPOSE: Marshalling definitions for FORM_INFO_* 57bffb703SJames Tabor * COPYRIGHT: Copyright 1998-2020 ReactOS 67bffb703SJames Tabor */ 77bffb703SJames Tabor 87bffb703SJames Tabor static const MARSHALLING FormInfo1Marshalling = { 97bffb703SJames Tabor sizeof(FORM_INFO_1W), 107bffb703SJames Tabor { 11*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_1W, Flags), RTL_FIELD_SIZE(FORM_INFO_1W, Flags), RTL_FIELD_SIZE(FORM_INFO_1W, Flags), FALSE }, 127bffb703SJames Tabor { FIELD_OFFSET(FORM_INFO_1W, pName), RTL_FIELD_SIZE(FORM_INFO_1W, pName), RTL_FIELD_SIZE(FORM_INFO_1W, pName), TRUE }, 13*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_1W, Size), RTL_FIELD_SIZE(FORM_INFO_1W, Size), RTL_FIELD_SIZE(FORM_INFO_1W, Size), FALSE }, 14*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_1W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_1W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_1W, ImageableArea), FALSE }, 157bffb703SJames Tabor { MAXDWORD, 0, 0, FALSE } 167bffb703SJames Tabor } 177bffb703SJames Tabor }; 187bffb703SJames Tabor 197bffb703SJames Tabor static const MARSHALLING FormInfo2Marshalling = { 207bffb703SJames Tabor sizeof(FORM_INFO_2W), 217bffb703SJames Tabor { 22*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, Flags), RTL_FIELD_SIZE(FORM_INFO_2W, Flags), RTL_FIELD_SIZE(FORM_INFO_2W, Flags), FALSE }, 237bffb703SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, pName), RTL_FIELD_SIZE(FORM_INFO_2W, pName), RTL_FIELD_SIZE(FORM_INFO_2W, pName), TRUE }, 24*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, Size), RTL_FIELD_SIZE(FORM_INFO_2W, Size), RTL_FIELD_SIZE(FORM_INFO_2W, Size), FALSE }, 25*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_2W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_2W, ImageableArea), FALSE }, 267bffb703SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, pKeyword), RTL_FIELD_SIZE(FORM_INFO_2W, pKeyword), RTL_FIELD_SIZE(FORM_INFO_2W, pKeyword), TRUE }, 27*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, StringType), RTL_FIELD_SIZE(FORM_INFO_2W, StringType), RTL_FIELD_SIZE(FORM_INFO_2W, StringType), FALSE }, 287bffb703SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, pMuiDll), RTL_FIELD_SIZE(FORM_INFO_2W, pMuiDll), RTL_FIELD_SIZE(FORM_INFO_2W, pMuiDll), TRUE }, 29*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, dwResourceId), RTL_FIELD_SIZE(FORM_INFO_2W, dwResourceId), RTL_FIELD_SIZE(FORM_INFO_2W, dwResourceId), FALSE }, 30*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, pDisplayName), RTL_FIELD_SIZE(FORM_INFO_2W, pDisplayName), RTL_FIELD_SIZE(FORM_INFO_2W, pDisplayName), TRUE }, 31*62c4b828SJames Tabor { FIELD_OFFSET(FORM_INFO_2W, wLangId), RTL_FIELD_SIZE(FORM_INFO_2W, wLangId), RTL_FIELD_SIZE(FORM_INFO_2W, wLangId), FALSE }, 327bffb703SJames Tabor { MAXDWORD, 0, 0, FALSE } 337bffb703SJames Tabor } 347bffb703SJames Tabor }; 357bffb703SJames Tabor 367bffb703SJames Tabor static const MARSHALLING* pFormInfoMarshalling[] = { 377bffb703SJames Tabor NULL, 387bffb703SJames Tabor &FormInfo1Marshalling, 397bffb703SJames Tabor &FormInfo2Marshalling 407bffb703SJames Tabor }; 41