pluginResource 结构 (tspubplugincom.h)
包含有关可在 RemoteApp 和桌面连接中分配给用户的资源的信息。
语法
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;
成员
alias[256]
资源的别名。
name[256]
资源的名称。
resourceFileContents
资源文件的内容。 插件应通过调用 CoTaskMemAlloc 函数为此成员分配内存。
fileExtension[256]
资源文件的文件扩展名。 如果此成员设置为“.rdp”,则 RD Web Access 使用 ActiveX 控件打开文件。
resourcePluginType[256]
标识资源插件的唯一标识符。
isDiscoverable
一个布尔值,指示资源是否应在 RD Web Access 或 RemoteApp 和 Desktop Connections中显示。
resourceType
资源的类型。
1
RemoteApp 应用程序。
2
个人虚拟桌面。
pceIconSize
图标的大小(以字节为单位)。
iconContents
一个字节数组,用于定义要为资源显示的图标。
pcePluginBlobSize
blobContents 成员的大小(以字节为单位)。
blobContents
此成员是保留的。 将其设置为 NULL。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | 无受支持的版本 |
最低受支持的服务器 | Windows Server 2008 R2 |
标头 | tspubplugincom.h |