2025-04-27 07:49:33 -04:00

76 lines
2.3 KiB
Plaintext

/*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
tracing.idl
Abstract:
This file will be processed by the MIDL tool to produce the type library
(tracing.tlb) and marshalling code.
Author:
Jason Andre (JasAndre) 18-March-1999
Revision History:
--*/
cpp_quote("/*++")
cpp_quote(" ")
cpp_quote("Copyright (c) 1999 Microsoft Corporation")
cpp_quote(" ")
cpp_quote("Module Name: tracing.h")
cpp_quote(" ")
cpp_quote(" Trace Object Interfaces")
cpp_quote(" ")
cpp_quote("--*/")
cpp_quote("#ifndef _TRACING_IDL_H_")
cpp_quote("#define _TRACING_IDL_H_")
cpp_quote("DEFINE_GUID(CLSID_Trace, 0xE9513B6D,0x8A3D,0x11D2,0xB9,0xFE,0x00,0xC0,0x4F,0x72,0xD9,0x0E);")
cpp_quote("DEFINE_GUID(IID_ITrace, 0xE9513B6B,0x8A3D,0x11D2,0xB9,0xFE,0x00,0xC0,0x4F,0x72,0xD9,0x0E);")
cpp_quote("DEFINE_GUID(LIBID_TRACINGLib, 0xE9513B6F,0x8A3D,0x11D2,0xB9,0xFE,0x00,0xC0,0x4F,0x72,0xD9,0x0E);")
cpp_quote("/* ")
cpp_quote("The Main Interface ")
cpp_quote("*/ ")
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(E9513B6B-8A3D-11D2-B9FE-00C04F72D90E),
dual,
helpstring("ITrace Interface"),
pointer_default(unique)
]
interface ITrace : IDispatch
{
[id(1), helpstring("method AddMessage")] HRESULT AddMessage([in] BSTR ModuleName, [in] BSTR Message);
};
[
uuid(E9513B6F-8A3D-11D2-B9FE-00C04F72D90E),
version(1.0),
helpstring("Tracing 1.0 Type Library")
]
library TRACINGLib
{
importlib("stdole2.tlb");
[
uuid(E9513B6D-8A3D-11D2-B9FE-00C04F72D90E),
helpstring("Trace Class")
]
coclass Trace
{
[default] interface ITrace;
};
};
cpp_quote("#endif //_TRACING_IDL_H_")