IInternalUnknown interface

Used exclusively in lightweight client-side handlers that require access to some of the internal interfaces on the proxy.

When to implement

You do not need to implement this interface. The COM Proxy Manager implements IInternalUnknown when it is aggregated into a handler.

When to use

Use the IInternalUnknown interface to gain access, through a handler, to internal interfaces on the proxy manager.

Members

The IInternalUnknown interface inherits from the IUnknown interface. IInternalUnknown also has these types of members:

Methods

The IInternalUnknown interface has these methods.

MethodDescription
QueryInternalInterface

Retrieves pointers to the supported internal interfaces on an object.

 

Remarks

Handlers that need access to some of the internal interfaces on the proxy manager have to go through the IInternalUnknown interface. This prevents the handlers from blindly delegating and exposing the aggregatee's internal interfaces outside of the aggregate. These interfaces include IClientSecurity and IMultiQI. If the handler wants to expose IClientSecurity or IMultiQI, the handler should implement these interfaces itself and delegate to the proxy manager's implementation of these interfaces when appropriate.

For the IClientSecurity interface, if the client tries to set the security on an interface that the handler has exposed, the handler should set the security on the underlying network interface proxy.

For the IMultiQI interface, the handler should fill in the interfaces it knows about and then forward the call to the proxy manager to fill in the rest of the interfaces.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IInternalUnknown is defined as 00000021-0000-0000-C000-000000000046

See also

IClientSecurity
IMultiQI
Lightweight Client-Side Handler

 

 

Community Additions

ADD
Show:
© 2014 Microsoft