Reference

PropStgNameToFmtId(3w)

NAME

PropStgNameToFmtId (OLE32.@)

SYNOPSIS

HRESULT PropStgNameToFmtId
(
const LPOLESTR str,
FMTID* rfmtid
)

DESCRIPTION

Returns the format Id corresponding to the given name.

PARAMS

str [In] Storage name to convert to a format ID.

rfmtid [Out] Format Id corresponding to str.

RETURNS

E_INVALIDARG if rfmtid or str is NULL or if str can't be converted to a format ID, S_OK otherwise.

IMPLEMENTATION

Declared in "propidl.h".

Implemented in "dlls/ole32/stg_prop.c".

Debug channel "storage".

History