ReactOS  0.4.15-dev-2972-gda2a567
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 
28 static const MARSHALLING* pPortInfoMarshalling[] = {
29  NULL,
32 };
#define RTL_FIELD_SIZE(type, field)
Definition: kdb_expr.c:84
#define TRUE
Definition: types.h:120
static const MARSHALLING * pPortInfoMarshalling[]
Definition: ports.h:28
#define FALSE
Definition: types.h:117
#define MAXDWORD
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
static LPSTR pName
Definition: security.c:75
struct _PORT_INFO_2W PORT_INFO_2W
static const MARSHALLING PortInfo2Marshalling
Definition: ports.h:16
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
#define NULL
Definition: types.h:112
struct _PORT_INFO_1W PORT_INFO_1W
static const MARSHALLING PortInfo1Marshalling
Definition: ports.h:8