Contents Index Topic Contents | ||
Previous Topic: IProvideTaskPage Next Topic: IScheduledWorkItem |
IProvideTaskPage::GetPage
HRESULT IProvideTaskPage::GetPage( TASKPAGE tpType, BOOL fPersistChanges, HPROPSHEETPAGE * phPage );Provides the ability to retrieve one or more property sheet pages associated with a task object.
- Returns S_OK if the method was successful, or STG_E_NOTFILEBASEDSTORAGE if the task has not been saved to disk.
- tpType
- Specific page to return. The page type is one of the enumerated types of TASKPAGE defined as:
TASKPAGE_TASK General page property. TASKPAGE_SCHEDULE Schedule properties for the task object. TASKPAGE_SETTINGS Settings properties for the task object. - fPersistChanges
- If TRUE, the page updates the persisted task object automatically if there is a change made on release. If FALSE, the caller is responsible for persisting task object changes by calling IPersistFile::Save on the task object.
- phPage
- Returned page handle for the task object.
See also TASKPAGE
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.