Compartilhar via


IStreamBufferCapture::GetCaptureMode (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IStreamBufferCapture Interface
STRMBUF_CAPTURE_MODE