SwitchedOutputFileGetSize method |
|
Remarks
Returns the size, expressed in bytes, of an output file switched through the SwitchOutputFile or the SwitchOutputFileEx methods during a recording session.
For further details about output files switching see the How to perform a recording session tutorial.
Syntax
[Visual Basic] Public Function SwitchedOutputFileGetSize ( nFileId as Int32 ) as Int32 |
[C#] public Int32 SwitchedOutputFileGetSize ( Int32 nFileId ); |
[C++] public: Int32 SwitchedOutputFileGetSize ( Int32 nFileId ); |
Parameter |
Description |
|
|
nFileId |
Number representing the zero-based index of the switched output file. This index is the same notified by the nData1 parameter of the CallbackForRecordersEvents delegate which is invoked with the nEvent parameter set to EV_REC_OUTPUT_FILE_SWITCH. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to see the error code meaning |
Value >= 0 |
Size, expressed in bytes, of the switched output file |