IOpcFactory::CreatePackage method (msopc.h)
Creates a package object that represents an empty package.
HRESULT CreatePackage( IOpcPackage **package );
A pointer to the IOpcPackage interface of the package object that represents an empty package.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
||This method is not implemented for this version of Windows.|
RemarksGetting Started with the Packaging API, and Platform Update for Windows Vista.
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|