home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / ADSDK.ZIP / Samples / General / ADsError / ADsError.idl < prev    next >
Encoding:
Text File  |  1999-04-13  |  871 b   |  42 lines

  1. // ADsError.idl : IDL source for ADsError.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (ADsError.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.     
  10.     [
  11.         object,
  12.         uuid(417D01DF-F1C6-11D2-BC88-00C04FD430AF),
  13.         dual,
  14.         helpstring("IADsError Interface"),
  15.         pointer_default(unique)
  16.     ]
  17.     interface IADsError : IDispatch
  18.     {
  19.         [id(1), helpstring("method GetErrorMessage")] HRESULT GetErrorMessage([in] long hResult, [out,retval] BSTR *pbMsg);
  20.     };
  21.  
  22. [
  23.     uuid(417D01D3-F1C6-11D2-BC88-00C04FD430AF),
  24.     version(1.0),
  25.     helpstring("ADsError 1.0 Type Library")
  26. ]
  27. library ADSERRORLib
  28. {
  29.     importlib("stdole32.tlb");
  30.     importlib("stdole2.tlb");
  31.  
  32.     
  33.     [
  34.         uuid(417D01E0-F1C6-11D2-BC88-00C04FD430AF),
  35.         helpstring("ADsError Class")
  36.     ]
  37.     coclass ADsError
  38.     {
  39.         [default] interface IADsError;
  40.     };
  41. };
  42.