Partager via


IStreamBufferCapture::GetCaptureMode (Windows Embedded CE 6.0)

1/6/2010

This method identifies the size of the pause buffer and whether the current capture mode is set for permanent or temporary recordings.

Syntax

HRESULT GetCaptureMode(
  STRMBUF_CAPTURE_MODE* peStrmbufCaptureMode,
  LONGLONG*             phyMaxBufferMilliseconds
);

Parameters

  • peStrmbufCaptureMode,
    [out] A pointer to a STRMBUF_CAPTURE_MODE value that will identify the recording type.
  • phyMaxBufferMilliseconds
    [out] A pointer to a LONGLONG value that will identify the size of the pause buffer, in milliseconds.

Return Value

Returns one of the following values.

Value Description

E_INVALIDARG

The method was called with a missing parameter.

S_OK

The method was successful.

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

See Also

Reference

IStreamBufferCapture Interface
STRMBUF_CAPTURE_MODE