IAMTimecodeGenerator::GetTimecode
Microsoft DirectShow 9.0 |
IAMTimecodeGenerator::GetTimecode
The GetTimecode method retrieves the most recent timecode and/or userbit value available in the stream.
Syntax
HRESULT GetTimecode( PTIMECODE_SAMPLE pTimecodeSample );
Parameters
pTimecodeSample
[out] Pointer to a TIMECODE_SAMPLE structure.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
Remarks
Use this method to obtain the most recent timecode value available in the stream. The application can use this to monitor the timecode and verify the generator is working properly.
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also