First
TheFirstmethod begins the iteration and returns a reference to the first window in the window state.
ODWindow First ();
- return value
- A reference to the first window in the window state.
DISCUSSION
If you are iterating from the first window to the last, your part must call this method before calling this window iterator'sIsNotCompletemethod for the first time. This method may be called multiple times; each time resets the iteration.Call the
Nextmethod to step through the window list from first to last.This method does not increment the reference count of the returned window object.
EXCEPTIONS
kODErrIteratorOutOfSync- The list of open windows was modified while the iteration was in progress.