IScheduledWorkItem::GetWorkItemDataIScheduledWorkItem::GetWorkItemData*
*Contents  *Index  *Topic Contents
*Previous Topic: IScheduledWorkItem::GetTriggerString
*Next Topic: IScheduledWorkItem::Run

IScheduledWorkItem::GetWorkItemData

HRESULT GetWorkItemData(
    WORD * pcBytes, 
    BYTE ** ppBytes
);

Retrieves application-defined data associated with the work item.

pcBytes
Number of bytes copied.
ppBytes
Address of a BYTE pointer that contains user-defined data for the current task. The method that invokes GetWorkItemData is responsible for freeing this memory by using CoTaskMemFree.

See also IScheduledWorkItem::SetWorkItemData

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.