2 * PROJECT: ReactOS Printing Stack Marshalling Functions
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: Marshalling definitions for MONITOR_INFO_*
5 * COPYRIGHT: Copyright 2015-2018 Colin Finck (colin@reactos.org)
8 static const MARSHALLING MonitorInfo1Marshalling
= {
9 sizeof(MONITOR_INFO_1W
),
11 { FIELD_OFFSET(MONITOR_INFO_1W
, pName
), RTL_FIELD_SIZE(MONITOR_INFO_1W
, pName
), RTL_FIELD_SIZE(MONITOR_INFO_1W
, pName
), TRUE
},
12 { MAXDWORD
, 0, 0, FALSE
}
16 static const MARSHALLING MonitorInfo2Marshalling
= {
17 sizeof(MONITOR_INFO_2W
),
19 { FIELD_OFFSET(MONITOR_INFO_2W
, pName
), RTL_FIELD_SIZE(MONITOR_INFO_2W
, pName
), RTL_FIELD_SIZE(MONITOR_INFO_2W
, pName
), TRUE
},
20 { FIELD_OFFSET(MONITOR_INFO_2W
, pEnvironment
), RTL_FIELD_SIZE(MONITOR_INFO_2W
, pEnvironment
), RTL_FIELD_SIZE(MONITOR_INFO_2W
, pEnvironment
), TRUE
},
21 { FIELD_OFFSET(MONITOR_INFO_2W
, pDLLName
), RTL_FIELD_SIZE(MONITOR_INFO_2W
, pDLLName
), RTL_FIELD_SIZE(MONITOR_INFO_2W
, pDLLName
), TRUE
},
22 { MAXDWORD
, 0, 0, FALSE
}
26 static const MARSHALLING
* pMonitorInfoMarshalling
[] = {
28 &MonitorInfo1Marshalling
,
29 &MonitorInfo2Marshalling