Skip to content

Latest commit

 

History

History
79 lines (61 loc) · 2.57 KB

nc-resapi-pworker_start_routine.md

File metadata and controls

79 lines (61 loc) · 2.57 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:resapi.PWORKER_START_ROUTINE
PWORKER_START_ROUTINE (resapi.h)
Initializes a worker thread with the specified callback routine. The PWORKER_START_ROUTINE type defines a pointer to this function.
PWORKER_START_ROUTINE
PWORKER_START_ROUTINE callback function [Failover Cluster]
WorkerStartRoutine
WorkerStartRoutine callback
WorkerStartRoutine callback function [Failover Cluster]
mscs.pworker_start_routine
resapi/PWORKER_START_ROUTINE
resapi/WorkerStartRoutine
mscs\pworker_start_routine.htm
MsCS
d46eaaa7-241a-40a5-a691-68631565e2e7
12/05/2018
PWORKER_START_ROUTINE, PWORKER_START_ROUTINE callback function [Failover Cluster], WorkerStartRoutine, WorkerStartRoutine callback, WorkerStartRoutine callback function [Failover Cluster], mscs.pworker_start_routine, resapi/PWORKER_START_ROUTINE, resapi/WorkerStartRoutine
resapi.h
Windows
None supported
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Windows
19H1
PWORKER_START_ROUTINE
resapi/PWORKER_START_ROUTINE
c++
APIRef
kbSyntax
UserDefined
ResApi.h
WorkerStartRoutine

PWORKER_START_ROUTINE callback function

-description

Initializes a worker thread with the specified callback routine. The PWORKER_START_ROUTINE type defines a pointer to this function.

-parameters

-param pWorker [in]

A pointer to the CLUS_WORKER structure that represents the worker thread.

-param lpThreadParameter [in]

A pointer to the callback routine to use to initialize the worker thread.

-returns

Returns ERROR_SUCCESS (0), if the operation succeeds; otherwise returns a system error code.

-remarks

The pointer to this callback function is used as an input parameter for the ClusWorkerCreate function.

-see-also

ClusWorkerCreate

Resource DLL Callback Functions