Compartilhar via


IAMLatency::GetLatency

 
Microsoft DirectShow 9.0

IAMLatency::GetLatency

The GetLatency method retrieves the expected latency associated with this filter.

Syntax

  HRESULT GetLatency(
  REFERENCE_TIME *prtLatency
);

Parameters

prtLatency

[in] Pointer to a variable that receives the latency in 100-nanosecond units.

Return Values

Returns S_OK if successsful, or an error code otherwise.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also