IASActiveForms::ItemFromID

This method retrieves a pointer to an active form specified by its identifier.

Syntax

HRESULT ItemFromID( short wID, IDispatch**ppdispForm );

Parameters

wID
Short integer that contains the identifier of the form.
ppdispForm
Pointer to the pointer to the form.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.