IStreamBufferCapture::ConvertToTemporaryRecording (Windows Embedded CE 6.0)
1/6/2010
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
Windows Embedded CE | Windows CE 5.0 Networked Media Device Feature Pack and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |