// P4Dialogs.idl : IDL source for P4Dialogs // // This file will be processed by the MIDL tool to // produce the type library (P4Dialogs.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(1334BE8A-654A-4730-97DD-FBF32D915180), dual, nonextensible, helpstring("IOpenDepot Interface"), pointer_default(unique) ] interface IOpenDepot : IDispatch{ [id(1), helpstring("method Run - run dialog returning selected file")] HRESULT Run([in] long hWnd, [in] VARIANT fileTypes, [out, retval] BSTR *selectedFile); }; [ uuid(24D9124D-1EE5-45CE-9A7E-076EA38F7E30), version(1.0), helpstring("P4Dialogs 1.0 Type Library") ] library P4Dialogs { importlib("stdole2.tlb"); [ uuid(02E6729A-214E-4D59-8F24-16132E1A2317), helpstring("OpenDepot Class") ] coclass OpenDepot { [default] interface IOpenDepot; }; };