65 uuid(0B87C392-EDFE-497c-BCE1-47DD00217178),
68 helpstring(
"IBuffer Interface"),
69 pointer_default(unique)
83 #if defined(WIN32) || defined(WIN64) 85 uuid(28B7FD1A-1DAE-4446-9BB8-9A3C3BDF8791)
114 [propget, id(1), helpstring(
"Property NameOfBuffer")] HRESULT NameOfBuffer([out, retval] BSTR* bufferName);
139 [id(2), helpstring(
"Method GetNewestMessageIndex")] HRESULT
GetNewestMessageIndex([out, retval] LONGLONG *newestIndex);
163 [id(3), helpstring(
"Method GetOldestMessageIndex")] HRESULT
GetOldestMessageIndex([out, retval] LONGLONG *oldestIndex);
165 #if defined(WIN32) || defined(WIN64) 166 [id(4), helpstring(
"Method ReadBuffer")] HRESULT
ReadBuffer([in] LONGLONG startIndex, [in] LONG numElements, [out, retval] SAFEARRAY (
struct TraceMessage) *messages);
BSTR functionName
Function name by which the trace message was sent.
HRESULT GetOldestMessageIndex([out, retval] LONGLONG *oldestIndex)
This function returns the message index of the oldest message available in the given trace buffer...
TraceType
This enumeration defines the different types of messages that can be found in a trace buffer...
LONG threadId
Id of thread in which trace message was sent.
LONG milliseconds
Time in milliseconds when the message was sent.
HRESULT ReadBuffer([in] LONGLONG startIndex, [in] LONG numElements, [out, retval] SAFEARRAY(struct TraceMessage)*messages)
This function reads messages of the given buffer and returns them as an array.
Definition of the IBuffer interface to access settings of a single trace buffer.
BSTR moduleName
Module name by which the trace message was sent.
This structure defines the information about a trace buffer as used by ReadBuffer.
LONGLONG index
Unique index of the message.
HRESULT GetNewestMessageIndex([out, retval] LONGLONG *newestIndex)
This function returns the message index of the newest message available in the given trace buffer...
BSTR text
User Message text sent with trace message.
Unspecified message type.
LONG lineNumber
Line in the code in which trace message was sent.
TraceType type
Type of message (message, error, warning).