IWMEncProfile2::SaveToMemory

Windows Media Encoder SDK banner art

The SaveToMemory method saves the current profile to an XML string.

Syntax

HRESULT SaveToMemory(
  BSTR*  pbstrData
);

Parameters

pbstrData

[out]  Pointer to a BSTR containing information about the profile.

Return Values

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

Return code Number Description
E_POINTER 0x80004003 The pointer to the data string is NULL.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also