大网数据广告活动
Windows 系统接口

Internet-Aware Objects

· 52CE 我爱测

There are certain categories identified to cover the persistency interfaces; these have been identified as a result of defining how controls function across the Internet. A container that does not support the full range of persistency interfaces should ensure that it does not host a control that requires a combination of interfaces that it does not support.

There are certain categories identified to cover the persistency interfaces; these have been identified as a result of defining how controls function across the Internet. A container that does not support the full range of persistency interfaces should ensure that it does not host a control that requires a combination of interfaces that it does not support.

The following tables describe the meaning for various categories as both implemented and required categories.

Required Categories Description
CATID_PersistsToMoniker, CATID_PersistsToStreamInit, CATID_PersisitsToStream, CATID_PersistsToStorage, CATID_PersistsToMemory, CATID_PersistsToFile, CATID_PersistsToPropertyBag Each of these categories is mutually exclusive and only used when an object supports only one persistence mechanism at all (hence the mutual exclusion). Containers that do not support the persistence mechanism described by one of these categories should prevent themselves from creating any objects of classes so marked.
CATID_RequiresDataPathHost The object requires the ability to save data to one or more paths and requires container involvement, therefore requiring container support for IBindHost.
Implemented Categories Description
CATID_PersistsToMoniker, CATID_PersistsToStreamInit, CATID_PersistsToStream, CATID_PersistsToStorage, CATID_PersistsToMemory, CATID_PersistsToFile, CATID_PersistsToPropertyBag Object supports the corresponding IPersist* mechanism for the category.

The following table provides the exact CATIDs assigned to each category:

Category CATID
CATID_RequiresDataPathHost 0de86a50-2baa-11cf-a229-00aa003d7352
CATID_PersistsToMoniker 0de86a51-2baa-11cf-a229-00aa003d7352
CATID_PersistsToStorage 0de86a52-2baa-11cf-a229-00aa003d7352
CATID_PersistsToStreamInit 0de86a53-2baa-11cf-a229-00aa003d7352
CATID_PersistsToStream 0de86a54-2baa-11cf-a229-00aa003d7352
CATID_PersistsToMemory 0de86a55-2baa-11cf-a229-00aa003d7352
CATID_PersistsToFile 0de86a56-2baa-11cf-a229-00aa003d7352
CATID_PersistsToPropertyBag 0de86a57-2baa-11cf-a229-00aa003d7352

Related topics

Component Categories

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。