pluginResource structure (tspubplugincom.h)

Contains information about a resource that can be assigned to users in RemoteApp and Desktop Connection.

Syntax

typedef struct __MIDL_ItsPubPlugin_0001 {
  WCHAR         alias[256];
  WCHAR         name[256];
  WCHAR         *resourceFileContents;
  WCHAR         fileExtension[256];
  WCHAR         resourcePluginType[256];
  boolean       isDiscoverable;
  long          resourceType;
  unsigned long pceIconSize;
  byte          *iconContents;
  unsigned long pcePluginBlobSize;
  byte          *blobContents;
} pluginResource;

Members

alias[256]

The alias of the resource.

name[256]

The name of the resource.

resourceFileContents

The contents of the resource file. The plug-in should allocate memory for this member by calling the CoTaskMemAlloc function.

fileExtension[256]

The file name extension of the resource file. If this member is set to ".rdp", RD Web Access opens the file by using the ActiveX control.

resourcePluginType[256]

A unique identifier that identifies the resource plug-in.

isDiscoverable

A Boolean value that indicates whether the resource should be displayed in RD Web Access or RemoteApp and Desktop Connections.

resourceType

The type of resource.

1

RemoteApp application.

2

Personal virtual desktop.

pceIconSize

The size, in bytes, of the icon.

iconContents

A byte array that defines the icon to be displayed for the resource.

pcePluginBlobSize

The size, in bytes, of the blobContents member.

blobContents

This member is reserved. Set it to NULL.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Header tspubplugincom.h

See also

RemoteApp and Desktop Connection Management Service Interfaces

RemoteApp and Desktop Connection Management Service Structures