Partager via


SetMapping method

Sets the mapping mode.

Syntax

HRESULT retVal = object.SetMapping(pszMIMEType, dwMapMode, clsid);

Parameters

  • pszMIMEType [in]
    Type: LPCOLESTR

    Specifies the MIME value.

  • dwMapMode [in]
    Type: DWORD

    Specifies the mapping mode.

  • clsid [in]
    Type: REFCLSID

    Specifies a reference to the CLSID value.

Return value

Type: HRESULT

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