<div class="content" name="RPC_FORM_INFO_2" uuid="dca49b4f-3eb1-4656-9e97-2f0b0c569bf6"><p>The <b>RPC_FORM_INFO_2</b> structure provides information
about a <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_8dfb0042-b0de-4108-ac52-b148427603db" data-linktype="relative-path">printer form</a></span> that
includes its origin, dimensions, the dimensions of its printable area, and its
display name.<a id="Appendix_A_Target_43"></a><a aria-label="Product behavior note 43" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_43" data-linktype="relative-path">&lt;43&gt;</a></p><dl>
<dd>
<div><pre> typedef struct _RPC_FORM_INFO_2 {
   DWORD Flags;
   [string, unique] const wchar_t* pName;
   SIZE Size;
   RECTL ImageableArea;
   [string, unique] const char* pKeyword;
   DWORD StringType;
   [string, unique] const wchar_t* pMuiDll;
   DWORD dwResourceId;
   [string, unique] const wchar_t* pDisplayName;
   LANGID wLangID;
 } RPC_FORM_INFO_2;
</pre></div>
</dd></dl><p><b>pKeyword:</b> This member MUST be set to NULL
by the client if the value of the <b>Flags</b> member is set to FORM_BUILTIN;
otherwise, this member is a pointer to a string that specifies a unique,
localization-independent identifier for this form.<a id="Appendix_A_Target_44"></a><a aria-label="Product behavior note 44" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_44" data-linktype="relative-path">&lt;44&gt;</a></p><p><b>StringType:</b> A value that specifies how a
form&#39;s display name is passed. The value of this member MUST be a value from
the following table.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Name/value</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>STRING_NONE 0x00000001</td>
  <td>Use the default display name, a string that is pointed to by the pName member. No localized display name exists.</td>
 </tr><tr>
  <td>STRING_MUIDLL 0x00000002</td>
  <td>Load the form name from the library of string resources that is identified by the pMuiDll member. The dwResourceId member specifies the ID of the form name string in that library.</td>
 </tr><tr>
  <td>STRING_LANGPAIR 0x00000004</td>
  <td>Use the form name, a string that is pointed to by the pDisplayName member, and the language that is identified by the wLangID member.</td>
 </tr></tbody></table>
</dd></dl><p><b>pMuiDll:</b> A NULL pointer and MUST be
ignored on receipt if <b>StringType</b> is not equal to <b>STRING_MUIDLL</b>,
or it is a pointer to a string that contains the name of a library of string
resources. String resources can be localized into multiple languages.<a id="Appendix_A_Target_45"></a><a aria-label="Product behavior note 45" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_45" data-linktype="relative-path">&lt;45&gt;</a> </p><p><b>dwResourceId:</b> The value of this member
SHOULD be set to zero when sent and ignored on receipt if the value of the <b>StringType</b>
member is not equal to <b>STRING_MUIDLL</b>; otherwise, the value of this
member specifies the string resource ID of the form name in the library that is
identified by the string that is pointed to by the <b>pMuiDll</b> member.</p><p><b>pDisplayName:</b> A NULL pointer and ignored
on receipt if <b>StringType</b> is not equal to <b>STRING_LANGPAIR</b>;
otherwise, this member is a pointer to a string that specifies the form name.</p><p><b>wLangID:</b> The value of this member SHOULD
be set to zero when sent and ignored on receipt if <b>StringType</b> is not
equal to <b>STRING_LANGPAIR</b>; otherwise, the value of this member MUST be
the Language Identifier of the <b>pDisplayName</b> member <span><a href="../ms-lcid/70feba9f-294e-491e-b6eb-56532684c37f" data-linktype="relative-path">[MS-LCID]</a></span>.</p><p>All members not defined in this section are specified in
sections <span><a href="84fe09fa-ea4b-4cc5-8ae4-9c8582fd1ffe" data-linktype="relative-path">2.2.1.3.2</a></span> and <span><a href="964b517f-6730-4b4a-99ed-ee9648e7f1f7" data-linktype="relative-path">2.2.1.3</a></span>.</p></div>