- pif:[in] Pointer to the IForm interface object.
- ppif:[out] Pointer to an IRootForm pointer, into which the function will return a pointer to the root form.
int IForm_GetRootForm(IForm *pif, IRootForm **ppif);
A pointer to the root form is returned in 'ppif'.
The pointer passed in the 'ppif' parameter is a double-indirection -- i.e. it is a pointer to a pointer. Applications should use care in ensuring that the proper level of indirection is used in calling the function.