Completable::SetCompletionCookie
Defined in:
Sets the cookie that is passed to the completion callback function.
TSCompletable.h
Prototype
void SetCompletionCookie(void *cookie);
Parameters
cookie |
The cookie that is passed to the completion callback function as its last parameter. |
Description
The SetCompletionCookie
function sets the cookie that is passed to the completion callback function for an object that inherits from the Completable
class template. When a subclass completes a task and needs to notify the user of the object that the task has completed, it calls the Completable::HandleCompletion
function.
See Also
Completable::GetCompletionCallback
Completable::SetCompletionCallback