CreateStdAccessibleObject

[This is preliminary documentation and subject to change.]

Creates a default implementation of an accessible object for a given standard object.

STDAPI CreateStdAccessibleObject(
  HWND hwnd,
  LONG idObject,
  REFIID riidInterface,
  void **ppvObject
);
 

Parameters

hwnd
Handle to the window containing the object specified by the idObject parameter.
idObject
Object ID. This value must be one of the object identifier constants.
riidInterface
Reference identifier of the interface being requested. If the requested interface is not supported, the call will fail and the function will return E_NOINTERFACE.
ppvObject
Address of a variable that will contain the address of the specified interface if the call succeeds.

Return Values

Returns S_OK if successful or a standard COM error code otherwise.

Remarks

This function is used only by server applications, not clients.

All standard objects support the IAccessible, IDispatch, IEnumVARIANT and IUnknown interfaces.

See Also

IDispatch Interface