pluginResource2 结构 (tspubplugin2com.h)
包含有关可在 RemoteApp 和桌面连接中分配给用户的资源的其他信息。
语法
typedef struct __MIDL_ItsPubPlugin2_0002 {
pluginResource resourceV1;
unsigned long pceFileAssocListSize;
pluginResource2FileAssociation *fileAssocList;
WCHAR *securityDescriptor;
unsigned long pceFolderListSize;
pluginFolderName *folderList;
} pluginResource2;
成员
resourceV1
pluginResource 结构,其中包含有关资源的基本信息。
pceFileAssocListSize
保留供将来使用。 此成员必须为零。
fileAssocList
保留供将来使用。 此成员必须为 NULL。
securityDescriptor
安全描述符的字符串表示形式,用于指定有权访问资源的域用户和组。 有关安全描述符字符串的详细信息,请参阅 安全描述符字符串格式。
pceFolderListSize
folderList 数组中的字符串数。
folderList
指向以 null 结尾的字符串的指针数组,这些字符串包含应显示资源的文件夹的名称。 必须使用 CoTaskMemAlloc 函数来分配这些字符串。 调用方负责释放这些字符串。
注解
pluginFolderName 类型定义如下:
typedef [string] WCHAR* pluginFolderName;
要求
最低受支持的客户端 | Windows 8 |
最低受支持的服务器 | Windows Server 2012 |
标头 | tspubplugin2com.h |