FmtIdToPropStgName function (coml2api.h)
The FmtIdToPropStgName function converts a property set format identifier (FMTID) to its storage or stream name.
HRESULT FmtIdToPropStgName( [in] const FMTID *pfmtid, [out] LPOLESTR oszName );
A pointer to the FMTID of the property set.
A pointer to a null-terminated string that receives the storage or stream name of the property set identified by pfmtid. The array allocated for this string must be at least CCH_MAX_PROPSTG_NAME (32) characters in length.
This function supports the standard return value E_INVALIDARG as well as the following:
FmtIdToPropStgName maps a property set FMTID 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. For more information about PROPSETFLAG_UNBUFFERED, see PROPSETFLAG Constants.
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|
|Header||coml2api.h (include Propidl.h)|