ICrmMonitorLogRecords::GetLogRecord method (comsvcs.h)
Retrieves an unstructured log record given its numeric index.
Syntax
HRESULT GetLogRecord(
[in] DWORD dwIndex,
[in, out] CrmLogRecordRead *pCrmLogRec
);
Parameters
[in] dwIndex
The index of the required log record.
[in, out] pCrmLogRec
The log record, as a CrmLogRecordRead structure.
Return value
This method can return the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
A NULL pointer was provided as an argument. |
|
The index is out of range. |
|
Attempting to read unstructured records but written records are structured. |
|
The transaction has completed, and the log records have been discarded from the log file. They are no longer available. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |