Contents Index Topic Contents | ||
Previous Topic: IScheduledWorkItem::SetIdleWait Next Topic: IScheduledWorkItem::Terminate |
IScheduledWorkItem::SetWorkItemData
HRESULT SetWorkItemData( WORD cBytes, BYTE rgbData[] );Stores application-defined data associated with the work item.
- 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.
- cBytes
- Number of bytes in the data buffer. The caller allocates and frees this memory.
- rgbData
- Data to copy.
See also IScheduledWorkItem::GetWorkItemData
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.