开发者

Is there any documentation on IdentityUnmarshal interface?

Whenever I put my component into COM+ and call CoCreateInstance() on the client the fol开发者_如何学Pythonlowing happens:

  • the runtime instantiates the object (calls IClassFactory::CreateInstance())
  • the runtime calls QueryInterface() for the interface specified in the CoCreateInstance() call
  • the runtime calls QueryInterface() for IdentityUnmarshal interface ({0000001b-0000-0000-c000-000000000046})

The only thing I can find is the declaration in comdef.h that there exists IdentityUnmarshal interface with that interface id.

ComDef.h:

class __declspec(uuid("0000001b-0000-0000-c000-000000000046")) IdentityUnmarshal;

Is there any more information on it?


If I remember it correctly you may query for IdentityUnmarshal interface to define if you are dealing with proxy or not. If result is S_OK, then Proxy.

Update: check out this discussion

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜