次の方法で共有


MapMIMEToCLSID method

Maps MIME to CLSID.

Syntax

HRESULT retVal = object.MapMIMEToCLSID(pszMIMEType, pCLSID);

Parameters

  • pszMIMEType [in]
    Type: LPCOLESTR

    Specifies MIME value.

  • pCLSID [in]
    Type: CLSID

    Specifies CLSID value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.