Sdílet prostřednictvím


IPC_TEMPLATE_INFO structure

Contains information for a template such as ID, locale, name, and description.

Syntax

typedef struct _IPC_TEMPLATE_INFO {
  LPCWSTR wszID;
  LCID    lcid;
  LPCWSTR wszName;
  LPCWSTR wszDescription;
  LPCWSTR wszIssuerDisplayName;
  BOOL    fFromTemplate;
} IPC_TEMPLATE_INFO, *PIPC_TEMPLATE_INFO;typedef const IPC_TEMPLATE_INFO *PCIPC_TEMPLATE_INFO;

Members

wszID

The template ID.

This member is read-only.

lcid

The locale ID for the template name and description.

This member, lcid, must be set to the locale ID of the template information of this structure instance. For more information about platform behavior regarding locale ID, see the Frequently asked questions section of the Release notes topic.

wszName

The template name.

Do not include a colon (:) character or a semicolon (;) character in the string.

wszDescription

The template description.

Do not include a colon (:) character or a semicolon (;) character in the string.

wszIssuerDisplayName

The name of the RMS server that issued the template, in a format that can be displayed to the user.

This member is read-only.

fFromTemplate

Specifies whether the license was created directly from a template (for example, enumerated using IpcGetTemplateList). The property is a BOOL and is TRUE if the license was created directly from a template, otherwise FALSE.

This member is read-only.

Remarks

When using this structure with IpcSetLicenseProperty, the following members are not required and are ignored:

  • wszID
  • wszIssuerDisplayName
  • fFromTemplate

When using this structure with IpcGetLicenseProperty or IpcGetSerializedLicenseProperty, the member wszID is returned as NULL when the license was not created directly from a template.

Requirements

Minimum supported client
Windows Vista with SP2
Minimum supported server
Windows Server 2008
Header
Ipcprot.h (include Msipc.h)

See also

IpcGetTemplateList

Release notes