Brew MP 1.0.2
This function queries an interface for an alterrnate interface that may provide
extended functionality or a proprietary extension. If successful, the function
will return a pointer to the requested interface in the memory location pointed
to by the 'd' parameter. The requested interface is identified by a globally
unique ID passed to the function in the 'c' parameter.
Pointer to the IDecorator interface object.
A globally unique id that identifies the interface to be queried.
Pointer to a pointer returned by the function to reference the
interface requested by the 'c' parameter. If the queried item is not
available, this pointer is returned as NULL.
int IDecorator_QueryInterface(IDecorator *p, AEECLSID c, void **d)
AEE_SUCCESS - The requested interface was found and has been returned
in the 'd' parameter.
ECLASSNOTSUPPORT - The requested interface is not supported.
Upon successful retrieval of an interface pointer, that interface is returned with
its reference count incremented. The caller is responsible for releasing this object
at some point in the future.