Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method creates the dialog box window. This method implements the IPropertyPage::Activatemethod.
Syntax
HRESULT Activate( HWND hwndParent, LPCRECT prect, BOOL fModal ); |
Parameters
- hwndParent
-
Handle to the parent window of the dialog box.
- prect
-
Pointer to a RECTstructure that contains positioning information for the dialog box.
- fModal
-
Boolean value indicating whether the dialog box frame is modal (TRUE) or modeless (FALSE).
Return Value
Returns an HRESULT value. Possible values include the following.
Value | Description |
---|---|
S_OK |
Success. |
E_OUTOFMEMORY |
Insufficient memory. |
E_POINTER NULL |
Pointer argument. |
E_UNEXPECTED |
Unexpected failure. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have
different include file and Library requirements
For more information, see Setting Up the Build Environment,Version 2.12 requires DXPAK 1.0 or later |