Method ITcTask:GetPriority

Querying the task priority.

Syntax


virtual HRESULT TCOMAPI GetPriority(PULONG
pPriority)=0;

Parameter

pPriority: (Type: PULONG) [out] Priority value of the task is stored in this parameter.

Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.

E_POINTER if the parameter pPriority = NULL.

Description

Sample30: Timing Measurement shows usage of this method.