IStreamBufferCapture::ConvertToTemporaryRecording (Windows CE 5.0)

Send Feedback

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.

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 Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 5.0 with Windows CE 5.0 Networked Media Device Feature Pack

See Also

IStreamBufferCapture Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.