47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
// remoteps.idl : IDL source for remoteps.dll
|
|
//
|
|
|
|
// This file will be processed by the MIDL tool to
|
|
// produce the type library (remoteps.tlb) and marshalling code.
|
|
|
|
import "oaidl.idl";
|
|
import "ocidl.idl";
|
|
|
|
[
|
|
|
|
uuid(BD20693E-8D8A-11D3-B2F0-0050043ED4DB),
|
|
|
|
helpstring("IRemoteProcess Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IRemoteProcess : IUnknown
|
|
{
|
|
[helpstring("method Snapshot")] HRESULT Snapshot([out, retval] VARIANT *pVariant);
|
|
[helpstring("method GetProcessFirst")] HRESULT GetProcessFirst([out, retval] VARIANT *pVariant);
|
|
[helpstring("method GetProcessNext")] HRESULT GetProcessNext([out, retval] VARIANT *pVariant);
|
|
[helpstring("method GetModuleFirst")] HRESULT GetModuleFirst([out, retval] VARIANT *pVariant);
|
|
[helpstring("method GetModuleNext")] HRESULT GetModuleNext([out, retval] VARIANT *pVariant);
|
|
[helpstring("method GetDesktopWindow")] HRESULT GetDesktopWindow([out,retval] VARIANT *pVariant);
|
|
[helpstring("method GetProcessTimes")] HRESULT GetProcessTimes([in] VARIANT *pVariant,[out] DATE *pCreationTime,[out] DATE *pExitTime,[out] DATE *pKernelTime,[out] DATE *pUserTime);
|
|
[helpstring("method Kill")] HRESULT Kill([out, retval] VARIANT *pVariant);
|
|
};
|
|
[
|
|
uuid(BD206931-8D8A-11D3-B2F0-0050043ED4DB),
|
|
version(1.0),
|
|
helpstring("remoteps 1.0 Type Library")
|
|
]
|
|
library REMOTEPSLib
|
|
{
|
|
importlib("stdole32.tlb");
|
|
importlib("stdole2.tlb");
|
|
|
|
[
|
|
uuid(BD20693F-8D8A-11D3-B2F0-0050043ED4DB),
|
|
helpstring("RemoteProcess Class")
|
|
]
|
|
coclass CoRemoteProcess
|
|
{
|
|
[default] interface IRemoteProcess;
|
|
};
|
|
};
|