Export (0) Print
Expand All
ATL
Expand Minimize

COM_INTERFACE_ENTRY_NOINTERFACE 

Returns E_NOINTERFACE and terminates COM map processing when the specified interface is queried for.


COM_INTERFACE_ENTRY_NOINTERFACE( x )

Parameters

x

[in] Text used to construct the interface identifier.

You can use this macro to prevent an interface from being used in a particular case. For example, you can insert this macro into your COM map right before COM_INTERFACE_ENTRY_AGGREGATE_BLIND to prevent a query for the interface from being forwarded to the aggregate's inner unknown.

The interface IID will be constructed by appending x to IID_. For example, if x is IPersistStorage, the IID will be IID_IPersistStorage.

See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.

Community Additions

ADD
Show:
© 2014 Microsoft