QACONTAINER structure (ocidl.h)

Specifies container information for IQuickActivate::QuickActivate.

Syntax

typedef struct tagQACONTAINER {
  ULONG               cbSize;
  IOleClientSite      *pClientSite;
  IAdviseSinkEx       *pAdviseSink;
  IPropertyNotifySink *pPropertyNotifySink;
  IUnknown            *pUnkEventSink;
  DWORD               dwAmbientFlags;
  OLE_COLOR           colorFore;
  OLE_COLOR           colorBack;
  IFont               *pFont;
  IOleUndoManager     *pUndoMgr;
  DWORD               dwAppearance;
  LONG                lcid;
  HPALETTE            hpal;
  IBindHost           *pBindHost;
  IOleControlSite     *pOleControlSite;
  IServiceProvider    *pServiceProvider;
} QACONTAINER;

Members

cbSize

The size of the structure, in bytes.

pClientSite

A pointer to an IOleClientSite interface in the container.

pAdviseSink

A pointer to an IAdviseSinkEx interface in the container.

pPropertyNotifySink

A pointer to an IPropertyNotifySink interface in the container.

pUnkEventSink

A pointer to an IUnknown interface on the container's sink object.

dwAmbientFlags

The number of ambient properties supplied by the container using values from the QACONTAINERFLAGS enumeration.

colorFore

Specifies ForeColor, an ambient property supplied by the container with a DISPID = -704.

colorBack

Specifies BackColor, an ambient property supplied by the container with a DISPID = -701.

pFont

Specifies Font, an ambient property supplied by the container with a DISPID = -703.

pUndoMgr

A pointer to an IOleUndoManager interface in the container.

dwAppearance

Specifies Appearance, an ambient property supplied by the container with a DISPID = -716.

lcid

Specifies LocaleIdentifier, an ambient property supplied by the container with a DISPID = -705.

hpal

Specifies Palette, an ambient property supplied by the container with a DISPID = -726.

pBindHost

A pointer to an IBindHost interface in the container.

pOleControlSite

A pointer to the IOleControlSite interface in the container's site object.

pServiceProvider

A pointer to the IServiceProvider interface in the container.

Remarks

If an interface pointer in the QACONTAINER structure is NULL it does not indicate that the interface is not supported. In this situation, the control should use QueryInterface to obtain the interface pointer in the standard manner.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header ocidl.h

See also

IQuickActivate::QuickActivate

QACONTAINERFLAGS