Returns the window handle to one of the windows participating in in-place
activation (frame, document, parent, or in-place object window).
| HWND * phwind
||//Where to return window handle
[out] Points to where to return the window handle.
The window handle was successfully returned.
One or more arguments are invalid.
Out of memory.
An unexpected error occurred.
There is no window handle currently attached to this object.
Five types of windows comprise the windows hierarchy. When a object is active
in place, it has access to some or all of these windows:
||The outermost main window where the container application's main menu resides.
||The window that displays the compound document containing the embedded object
to the user.
||The subwindow of the document window that contains the object's view.
Applicable only for applications with split-pane windows.
||The container window that contains that object's view. The object application
installs its window as a child of this window.
||The window containing the active in-place object. The object application
creates this window and installs it as a child of its hatch window, which is a child
of the container's parent window.
Each type of window has a different role in the in-place activation
architecture. However, it is not necessary to employ a separate physical window for each
type. Many container applications use the same window for their frame,
document, pane, and parent windows.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages