ReactOS 0.4.16-dev-106-g10b08aa
ports.h
Go to the documentation of this file.
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 PORT_INFO_*
5 * COPYRIGHT: Copyright 2015-2018 Colin Finck (colin@reactos.org)
6 */
7
9 sizeof(PORT_INFO_1W),
10 {
12 { MAXDWORD, 0, 0, FALSE }
13 }
14};
15
17 sizeof(PORT_INFO_2W),
18 {
19 { FIELD_OFFSET(PORT_INFO_2W, pPortName), RTL_FIELD_SIZE(PORT_INFO_2W, pPortName), RTL_FIELD_SIZE(PORT_INFO_2W, pPortName), TRUE },
20 { FIELD_OFFSET(PORT_INFO_2W, pMonitorName), RTL_FIELD_SIZE(PORT_INFO_2W, pMonitorName), RTL_FIELD_SIZE(PORT_INFO_2W, pMonitorName), TRUE },
21 { FIELD_OFFSET(PORT_INFO_2W, pDescription), RTL_FIELD_SIZE(PORT_INFO_2W, pDescription), RTL_FIELD_SIZE(PORT_INFO_2W, pDescription), TRUE },
22 { FIELD_OFFSET(PORT_INFO_2W, fPortType), RTL_FIELD_SIZE(PORT_INFO_2W, fPortType), RTL_FIELD_SIZE(PORT_INFO_2W, fPortType), FALSE },
24 { MAXDWORD, 0, 0, FALSE }
25 }
26};
27
29 NULL,
32};
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define RTL_FIELD_SIZE(type, field)
Definition: kdb_expr.c:86
static LPSTR pName
Definition: security.c:75
#define MAXDWORD
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
static const MARSHALLING * pPortInfoMarshalling[]
Definition: ports.h:28
static const MARSHALLING PortInfo1Marshalling
Definition: ports.h:8
static const MARSHALLING PortInfo2Marshalling
Definition: ports.h:16
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
struct _PORT_INFO_1W PORT_INFO_1W
struct _PORT_INFO_2W PORT_INFO_2W