共用方式為


WorkerArchetype::Initialize

 

Called to initialize the worker object before any requests are passed to Execute.

Syntax

 
    BOOL Initialize(void* pvParam) throw();

Parameters

pvParam
A custom parameter understood by the worker class. Also passed to Terminate and Execute.

Return Value

Return TRUE on success, FALSE on failure.

Requirements

Header: atlutil.h

See Also

Worker Archetype