Share via


IAppxFactory2::CreateContentGroupMapWriter 方法 (appxpackaging.h)

建立 IAppxContentGroupMapWriter

語法

HRESULT CreateContentGroupMapWriter(
                IStream                    *stream,
  [out, retval] IAppxContentGroupMapWriter **contentGroupMapWriter
);

參數

stream

接收內容群組對應的數據流。

[out, retval] contentGroupMapWriter

提供內容群組對應的唯寫物件模型。

傳回值

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

需求
最低支援的用戶端 Windows 10 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2016 [僅限傳統型應用程式]
目標平台 Windows
標頭 appxpackaging.h

另請參閱

IAppxFactory2