RemUnknown.idl
上传用户:nvosite88
上传日期:2007-01-17
资源大小:4983k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* RemUnknown.idl - DCOM wire protocol */
  2. /* Copyright (c) 2000, Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,15feb00,dbs  created
  7. */
  8. import "orpc.idl";
  9. [
  10.     object,
  11.     uuid(00000131-0000-0000-C000-000000000046)
  12. ]
  13. interface IRemUnknown : IUnknown
  14.     {
  15.     // return structure from a QI call
  16.     typedef struct tagREMQIRESULT
  17. {
  18. HRESULT hResult; // result of call
  19. STDOBJREF std; // data for returned interface
  20. } REMQIRESULT;
  21.     HRESULT RemQueryInterface
  22. (
  23. [in] REFIPID ipid, // interface to QI on
  24. [in] unsigned long cRefs, // count of AddRefs requested for each interface
  25. [in] unsigned short cIids, // count of IIDs that follow
  26. [in, size_is(cIids)] const IID* iids, // IIDs to query for
  27. [out, size_is(,cIids)] REMQIRESULT **ppQIResults // results returned
  28. );
  29.     // structure passed to AddRef/Release to specify interface and
  30.     // count of references to Add/Release.
  31.     typedef struct tagREMINTERFACEREF
  32. {
  33. IPID ipid; // ipid to AddRef/Release
  34. unsigned long cPublicRefs; // public refs to add/release
  35. unsigned long cPrivateRefs; // private refs to add/release
  36. } REMINTERFACEREF;
  37.     HRESULT RemAddRef
  38. (
  39. [in] unsigned short cInterfaceRefs,
  40. [in, size_is(cInterfaceRefs)] REMINTERFACEREF InterfaceRefs[],
  41. [in, size_is(cInterfaceRefs)] HRESULT* pResults
  42. );
  43.     HRESULT RemRelease
  44. (
  45. [in] unsigned short cInterfaceRefs,
  46. [in, size_is(cInterfaceRefs)] REMINTERFACEREF InterfaceRefs[]
  47. );
  48.     }