IWMEncProfile2::LoadFromFile

Windows Media Encoder SDK banner art

The LoadFromFile method loads a profile from a saved file.

Syntax

HRESULT LoadFromFile(
  BSTR  bstrFileName
);

Parameters

bstrFileName

[in]  BSTR containing the file name.

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Remarks

Profile files have a .prx extension.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also