Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
![]() |
The get_StopLatency method retrieves the number of frames to play after encoding.
Syntax
HRESULT get_StopLatency(
long* plLatency
);
Parameters
plLatency
[out] Pointer to a long that indicates the stop latency value in frames.
Return Values
If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.
| Return code | Number | Description |
| E_POINTER | 0x80004003 | The pointer to the stop latency is NULL. |
Remarks
This value specifies the number of frames, relative to the mark-out time, that you want encoding to continue, which ensures that the last frame of your clip is captured before shutting down the device. For example, sometimes on certain systems, the device stops a little earlier than the mark-out time, so you can indicate a stop latency value to compensate and ensure that all frames are captured.
Requirements
Header: wmdevctl.h
Library: wmdevctl.dll
See Also
.gif)