/* * RSPerfMon by Gavin W Landon (aka Chizl) ( PDH Helper to access NT/2000 Performance Monitor ) * Copyright (C) 1999, ..., 2002 Gavin W. Landon (aka Chizl) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Gavin W. Landon (aka Chizl) * */ // RSPerfMon.idl : IDL source for RSPerfMon.dll // // This file will be processed by the MIDL tool to // produce the type library (RSPerfMon.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(3260617B-C1E2-11D3-BA9F-00C04F77E141), dual, helpstring("IInit Interface"), pointer_default(unique) ] interface IInit : IDispatch { [id(1), helpstring("method GetPerfDlg")] HRESULT GetPerfDlg([out, retval] BSTR *pVal); [id(2), helpstring("method GetCounter")] HRESULT GetCounter([in] BSTR bstrCounter, [out, retval] double *pVal); [id(3), helpstring("method OpenPerfMon")] HRESULT OpenPerfMon([out, retval] long * pVal); [id(4), helpstring("method ClosePerfMon")] HRESULT ClosePerfMon([out, retval] long * pVal); }; [ uuid(3260616F-C1E2-11D3-BA9F-00C04F77E141), version(1.0), helpstring("RSPerfMon 1.0 (www.chizl.com)") ] library RSPERFMONLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); [ uuid(3260617C-C1E2-11D3-BA9F-00C04F77E141), helpstring("Init Class") ] coclass Init { [default] interface IInit; }; };