HalconXimport.idl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*****************************************************************************
  2. * HalconXimport.idl
  3. *****************************************************************************
  4. *
  5. * Project: HALCON/COM
  6. * Description: Interfaces required for building COM extension packages
  7. *
  8. * (c) 1996-2020 by MVTec Software GmbH
  9. * www.mvtec.com
  10. *
  11. *****************************************************************************/
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. // Interface: IHObjectX
  15. [
  16. object,
  17. uuid(6ebd90c3-d219-11d2-ade5-0000c00f4ef9),
  18. dual,
  19. helpstring("Instance of an iconic object. Base class for HImage, HRegion,..."),
  20. pointer_default(unique)
  21. ]
  22. interface IHObjectX : IDispatch
  23. {
  24. }
  25. // Interface: IHUntypedObjectX
  26. [
  27. object,
  28. uuid(6ebd90c4-d219-11d2-ade5-0000c00f4ef9),
  29. dual,
  30. helpstring("weak typed data type for object parameters."),
  31. pointer_default(unique)
  32. ]
  33. interface IHUntypedObjectX : IDispatch
  34. {
  35. }
  36. // Interface: IHandleAccess
  37. [
  38. object,
  39. uuid(6ebd90d2-d219-11d2-ade5-0000c00f4ef9),
  40. dual,
  41. helpstring("interface for accessing the handle"),
  42. pointer_default(unique)
  43. ]
  44. interface IHandleAccess : IDispatch
  45. {
  46. [id(0), hidden, helpstring("read out the handle...")]
  47. HRESULT HandleAccess([out, retval] long *rVal);
  48. [id(1), hidden, helpstring("set the semaphore")]
  49. HRESULT HandleEnterCriticalSection();
  50. [id(2), hidden, helpstring("release the semaphore")]
  51. HRESULT HandleLeaveCriticalSection();
  52. [id(3), hidden, helpstring("call the class destructor")]
  53. HRESULT HandleCleanUp([in] BOOL CallDestructor);
  54. [id(4), helpstring("check handle - is the object valid?")]
  55. HRESULT HandleIsValid([out, retval] long *isValid);
  56. }