// PermChk.idl : IDL source for PermChk.dll // // This file will be processed by the MIDL tool to // produce the type library (PermChk.tlb) and marshalling code. [ object, uuid(1be73e20-b843-11d0-8b40-00c0f00ae35a), dual, helpstring("IPermissionChecker Interface"), pointer_default(unique) ] interface IPermissionChecker : IDispatch { import "oaidl.idl"; [id(3), helpstring("The HasAccess method tests whether a user has permission to access a specified file.")] HRESULT HasAccess([in] BSTR bstrLocalUrl, [out, retval] VARIANT_BOOL* pfRetVal); }; [ uuid(1be73e21-b843-11d0-8b40-00c0f00ae35a), version(1.0), helpstring("MSWC Permission Checker Object Library") ] library PermissionChecker { importlib("stdole2.tlb"); [ uuid(1be73e22-b843-11d0-8b40-00c0f00ae35a), helpstring("PermissionChecker Class") ] coclass PermissionChecker { [default] interface IPermissionChecker; }; };