Converts a property set's format identifier to its storage or stream name.
HRESULT FmtIdToPropStgName(
const FMTID* pfmtid, //Pointer to the format identifier of the
// property set
LPOLESTR oszName //Pointer to a string receiving the property
// set name
);
This function supports the standard return value E_INVALIDARG as well as the following:
FmtIdToPropStgName maps a property set's format identifier to its stream name for a simple property set or to its storage name for a nonsimple property set.
This function is useful in creating or opening a property set using the PROPSETFLAG_UNBUFFERED value with the StgCreatePropStg and StgOpenPropStg functions. See the PROPSETFLAG enumeration for more information on the use of PROPSETFLAG_UNBUFFERED.
Windows NT | 4.0/SP2 or with IPROP.DLL |
Win95 | Yes; requires IPROP.DLL |
Win32s | No |
Unicode | Yes |
Import Library | IPROP.DLL |
Header File | IPROPIDL.H |
Windows NT: Use version 4.0 SP2 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in objidl.h.
Import Library: Included as a resource in ole32.dll.
PROPSETFLAG, PropStgNameToFmtId, StgCreatePropStg, StgOpenPropStg