Compartilhar via


IStreamBufferCapture::ConvertToTemporaryRecording (Compact 2013)

3/26/2014

This method allows a client DVR application to convert a permanent recording to a temporary recording. To convert a permanent recording to a temporary recording, permanent recording must already be completed and still in the pause buffer. If the converted recording, which is now temporary, falls out of the pause buffer's window then the recording will be deleted.

Syntax

HRESULT ConvertToTemporaryRecording(
  LPCOLESTR pszFileName
);

Parameters

  • pszFileName
    [in] A LPCOLESTR value that points to the file name of the permanent recording that is to be converted.

Return Value

Returns one of the following values.

Value

Description

E_INVALIDARG

The filename is invalid

HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)

The recording is not in the pause buffer.

S_OK

The method succeeded

Remarks

To delete a permanent recording that is still part of the pause buffer, convert the permanent recording back to a temporary one that will be retained only as long as it is needed for the pause buffer.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IStreamBufferCapture Interface