Contents Index Topic Contents | ||
Previous Topic: ITaskTrigger::GetTrigger Next Topic: ITaskTrigger::SetTrigger |
ITaskTrigger::GetTriggerString
HRESULT GetTriggerString( LPWSTR * ppwszTrigger );Retrieves the current task trigger in the form of a string. This string appears in the Scheduling Agent user interface in a form similar to "At 2PM every day, starting 5/11/97."
- Returns one of the following values:
S_OK The operation was successful. E_INVALIDARG The arguments are not valid. E_OUTOFMEMORY Not enough memory is available.
- ppwszTrigger
- Address of an LPWSTR that contains the description of the current task trigger. The method that invokes GetTriggerString is responsible for freeing this string using the CoTaskMemFree function.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.