vxidl.idl
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:2k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* vxidl.idl -- VxCOM IDL definitions */
  2. /* Copyright (c) 2001 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,07aug01,dbs  move MULTI_QI structure to comCoreTypes
  7. 01a,13jul01,dbs  add import of ConnectionPoints, rename to vxidl
  8. 01a,20jul01,nel  created
  9. */
  10. cpp_quote("/* vxidl.h -- Copyright (c) Wind River Systems, Inc. 2001 */")
  11. import "comCoreTypes.idl";
  12. import "comAutomation.idl";
  13. import "vxStream.idl";
  14. import "ConnectionPoint.idl";
  15. [
  16.     local,
  17.     object,
  18.     uuid(00000003-0000-0000-C000-000000000046)
  19. ]
  20. interface IMarshal : IUnknown
  21.     {
  22.     typedef [unique] IMarshal *LPMARSHAL;
  23.     HRESULT GetUnmarshalClass
  24. (
  25.         [in] REFIID riid,
  26.         [in, unique] void *pv,
  27.         [in] DWORD dwDestContext,
  28.         [in, unique] void *pvDestContext,
  29.         [in] DWORD mshlflags,
  30.         [out] CLSID *pCid
  31. );
  32.     HRESULT GetMarshalSizeMax
  33. (
  34.         [in] REFIID riid,
  35.         [in, unique] void *pv,
  36.         [in] DWORD dwDestContext,
  37.         [in, unique] void *pvDestContext,
  38.         [in] DWORD mshlflags,
  39.         [out] DWORD *pSize
  40. );
  41.     HRESULT MarshalInterface
  42. (
  43.         [in, unique] IStream *pStm,
  44.         [in] REFIID riid,
  45.         [in, unique] void *pv,
  46.         [in] DWORD dwDestContext,
  47.         [in, unique] void *pvDestContext,
  48.         [in] DWORD mshlflags
  49. );
  50.     HRESULT UnmarshalInterface
  51. (
  52.         [in, unique] IStream *pStm,
  53.         [in] REFIID riid,
  54.         [out] void **ppv
  55. );
  56.     HRESULT ReleaseMarshalData
  57. (
  58.         [in, unique] IStream *pStm
  59. );
  60.     HRESULT DisconnectObject
  61. (
  62.         [in] DWORD dwReserved
  63. );
  64.     }