STEAL_RESOURCE


include vcomm.inc

cCall   dwContentHandler<STEAL_RESOURCE, dwAcquireHandle, dwNotify>
or      eax, eax
jz      not_yet
mov     dwAcquireHandle, eax

not_yet:

Attempts to reacquire a previously stolen resource. The caller must have successfully acquired the resource with an earlier ACQUIRE_RESOURCE call.

dwAcquireHandle

Handle returned from the original ACQUIRE_RESOURCE call.

dwNotify

Function pointer provided to ACQUIRE_RESOURCE for notification.

See also _VCOMM_Get_Contention_Handler