PAPCFUNC callback function (winnt.h)

An application-defined completion routine. Specify this address when calling the QueueUserAPC function. The PAPCFUNC type defines a pointer to this callback function. APCProc is a placeholder for the application-defined function name.

Syntax

PAPCFUNC Papcfunc;

void Papcfunc(
  [in] ULONG_PTR Parameter
)
{...}

Parameters

[in] Parameter

The data passed to the function using the dwData parameter of the QueueUserAPC function.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winnt.h (include Windows.h)

See also

Asynchronous Procedure Calls

QueueUserAPC

Synchronization Functions