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 theCoCreateInstance()
call - the runtime calls
QueryInterface()
forIdentityUnmarshal
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
精彩评论