ReactOS  0.4.15-dev-2344-g8ddbfde
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 
36 static const MARSHALLING* pFormInfoMarshalling[] = {
37  NULL,
40 };
#define RTL_FIELD_SIZE(type, field)
Definition: kdb_expr.c:84
#define TRUE
Definition: types.h:120
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define FALSE
Definition: types.h:117
#define MAXDWORD
struct _FORM_INFO_2W FORM_INFO_2W
static const MARSHALLING FormInfo2Marshalling
Definition: forms.h:19
static const MARSHALLING FormInfo1Marshalling
Definition: forms.h:8
static LPSTR pName
Definition: security.c:75
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
struct _FORM_INFO_1W FORM_INFO_1W
static const MARSHALLING * pFormInfoMarshalling[]
Definition: forms.h:36
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
#define NULL
Definition: types.h:112