ReactOS 0.4.16-dev-297-gc569aee
forms.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 FORM_INFO_*
5 * COPYRIGHT: Copyright 1998-2020 ReactOS
6 */
7
9 sizeof(FORM_INFO_1W),
10 {
14 { FIELD_OFFSET(FORM_INFO_1W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_1W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_1W, ImageableArea), FALSE },
15 { MAXDWORD, 0, 0, FALSE }
16 }
17};
18
20 sizeof(FORM_INFO_2W),
21 {
25 { FIELD_OFFSET(FORM_INFO_2W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_2W, ImageableArea), RTL_FIELD_SIZE(FORM_INFO_2W, ImageableArea), FALSE },
27 { FIELD_OFFSET(FORM_INFO_2W, StringType), RTL_FIELD_SIZE(FORM_INFO_2W, StringType), RTL_FIELD_SIZE(FORM_INFO_2W, StringType), FALSE },
29 { FIELD_OFFSET(FORM_INFO_2W, dwResourceId), RTL_FIELD_SIZE(FORM_INFO_2W, dwResourceId), RTL_FIELD_SIZE(FORM_INFO_2W, dwResourceId), FALSE },
30 { FIELD_OFFSET(FORM_INFO_2W, pDisplayName), RTL_FIELD_SIZE(FORM_INFO_2W, pDisplayName), RTL_FIELD_SIZE(FORM_INFO_2W, pDisplayName), TRUE },
32 { MAXDWORD, 0, 0, FALSE }
33 }
34};
35
37 NULL,
40};
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static const MARSHALLING * pFormInfoMarshalling[]
Definition: forms.h:36
static const MARSHALLING FormInfo1Marshalling
Definition: forms.h:8
static const MARSHALLING FormInfo2Marshalling
Definition: forms.h:19
#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
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
struct _FORM_INFO_2W FORM_INFO_2W
struct _FORM_INFO_1W FORM_INFO_1W
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170