IAccServerDocMgr::NewDocument

Server applications call the IAccServerDocMgr::NewDocument method when it is available. The adapter creates a wrapped document and registers it with the store, so clients can access information about the text in the document.

HRESULT NewDocument(
  REFIID riid,
  IUnknown* punk
);

Parameters

riid
[in] IID of the document. This is usually IID_ITextStoreAnchor.
punk
[in, iid_is(riid)] An interface pointer to the document.

Return Values

If successful, returns S_OK.

Remarks

The server application calls the IAccServerDocMgr::NewDocument method to notify the Active Accessibility run time that a document is available. Calling NewDocument adds the document to the Active Accessibility store so that clients can access the document.

Requirements

  Windows NT/2000/XP/Server 2003: Included in Windows XP and Windows Server 2003.
  Windows 95/98/Me: Unsupported.
  Redistributable: Requires Active Accessibility 2.0 RDK on Windows NT 4.0 SP6 and Windows 98.
  Header: Declared in Msaatext.h.

Community Additions

Show: