Compartilhar via


WorkerArchetype::Execute

Called to process a work item.

void Execute( 
   RequestType request, 
   void* pvWorkerParam, 
   OVERLAPPED* pOverlapped  
);

Parameters

  • request
    The work item to be processed. The work item is of the same type as RequestType.

  • pvWorkerParam
    A custom parameter understood by the worker class. Also passed to Initialize and Terminate.

  • pOverlapped
    A pointer to the OVERLAPPED structure used to create the queue on which work items were queued.

Requirements

Header: atlutil.h

See Also

Reference

Worker Archetype