pluginResource2 structure (tspubplugin2com.h)

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

Syntax

typedef struct __MIDL_ItsPubPlugin2_0002 {
  pluginResource                 resourceV1;
  unsigned long                  pceFileAssocListSize;
  pluginResource2FileAssociation *fileAssocList;
  WCHAR                          *securityDescriptor;
  unsigned long                  pceFolderListSize;
  pluginFolderName               *folderList;
} pluginResource2;

Members

resourceV1

A pluginResource structure that contains the basic information about the resource.

pceFileAssocListSize

Reserved for future use. This member must be zero.

fileAssocList

Reserved for future use. This member must be NULL.

securityDescriptor

A string representation of a security descriptor used to specify the domain users and groups that have access to the resource. For more information about security descriptor strings, see Security Descriptor String Format.

pceFolderListSize

The number of strings in the folderList array.

folderList

An array of pointers to null-terminated strings that contain the names of the folders that the resource should be displayed in. You must use the CoTaskMemAlloc function to allocate these strings. The caller is responsible for freeing these strings.

Remarks

The pluginFolderName type is defined as follows:

typedef [string] WCHAR* pluginFolderName;

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header tspubplugin2com.h

See also

GetResource2

GetResource2List

pluginResource