2OOO, 1O December
NTSYSAPI NTSTATUS NTAPI
IN HANDLE ThreadHandle, IN PIO_APC_ROUTINE ApcRoutine, IN PVOID ApcRoutineContext OPTIONAL, IN PIO_STATUS_BLOCK ApcStatusBlock OPTIONAL, IN ULONG ApcReserved OPTIONAL );
Open handle to any Thread Object, including caller's thread.
Entry point to user APC routine.
User defined parameter for ApcRoutine.
Function adds user defined routine to thread's APC queue. This routine will be executed when thread will be signaled. You can manually empty APC queue by calling NtTestAlert.