pluginResource2FileAssociation structure (tspubplugin2com.h)

Contains information about a file association in RemoteApp and Desktop Connection.

Syntax

typedef struct __MIDL_ItsPubPlugin2_0001 {
  WCHAR         extName[256];
  boolean       primaryHandler;
  unsigned long pceIconSize;
  byte          *iconContents;
} pluginResource2FileAssociation;

Members

extName[256]

A null-terminated string that contains the file name extension. The length of this string is limited to MAX_FILE_ASSOC_EXTENSION_SIZE characters, including the terminating NULL character.

primaryHandler

Indicates if this is the primary handler for the file association.

pceIconSize

The size, in bytes, of the iconContents buffer.

iconContents

A byte array that contains the icon to display for files with the specified extension.

Remarks

MAX_FILE_ASSOC_EXTENSION_SIZE is declared as follows:

#define MAX_FILE_ASSOC_EXTENSION_SIZE 256

Requirements

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

See also

pluginResource2