IWMEncBasicEdit::get_MarkOut
![]() |
The get_MarkOut method retrieves a mark-out time indicating the end of the output file.
Syntax
HRESULT get_MarkOut(
WMENC_LONGLONG* pllMarkOut
);
Parameters
pllMarkOut
[out] Pointer to a WMENC_LONGLONG that indicates the end time, in milliseconds.
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 mark-out value is NULL. |
Remarks
Use the put_MarkOut method to specify the end point for the output file. Everything after the mark-out time is discarded. Use the put_MarkIn method to specify a mark-in time. The mark-out time must be greater than the mark-in time.
The WMENC_LONGLONG data type is a typedef from the CURRENCY type. A 64-bit integer is needed to hold the elapsed time, and CURRENCY is the only 64-bit integer type that Automation supports. However, CURRENCY is a fixed-point type that has the decimal point moved four places to the left. Therefore, to display the CURRENCY value as a true integer and retrieve the correct elapsed time, you must multiply the value pointed to by 10,000.
To manipulate the value, you can use the following:
llMarkOut.int64
Requirements
Header: wmencode.h
Library: wmenc.exe
See Also
.gif)