SetMapping method
Sets the mapping mode.
Syntax
HRESULT retVal = object.SetMapping(pszMIMEType, dwMapMode, clsid);
Parameters
pszMIMEType [in]
Type: LPCOLESTRSpecifies the MIME value.
dwMapMode [in]
Type: DWORDSpecifies the mapping mode.
clsid [in]
Type: REFCLSIDSpecifies 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.