29#define CANCEL_EVENT_PTR(ncb) (PHANDLE)((ncb)->ncb_reserve)
30#define NEXT_PTR(ncb) (PNCB *)((ncb)->ncb_reserve + sizeof(HANDLE))
64 queue->cs.DebugInfo->Spare[0] = (
DWORD_PTR)(__FILE__
": NBCmdQueue.cs");
100 while (
ret && *
ret != ncb)
179 TRACE(
": waiting for ncb %p (command 0x%02x)\n",
queue->head,
180 queue->head->ncb_command);
196 queue->cs.DebugInfo->Spare[0] = 0;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define HeapFree(x, y, z)
struct NBCmdQueue * NBCmdQueueCreate(HANDLE heap)
static PNCB * NBCmdQueueFindNBC(struct NBCmdQueue *queue, PNCB ncb)
void NBCmdQueueDestroy(struct NBCmdQueue *queue)
UCHAR NBCmdQueueComplete(struct NBCmdQueue *queue, PNCB ncb, UCHAR retcode)
UCHAR NBCmdQueueCancelAll(struct NBCmdQueue *queue)
#define CANCEL_EVENT_PTR(ncb)
UCHAR NBCmdQueueCancel(struct NBCmdQueue *queue, PNCB ncb)
UCHAR NBCmdQueueAdd(struct NBCmdQueue *queue, PNCB ncb)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
VOID WINAPI InitializeCriticalSection(OUT LPCRITICAL_SECTION lpCriticalSection)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventW(IN LPSECURITY_ATTRIBUTES lpEventAttributes OPTIONAL, IN BOOL bManualReset, IN BOOL bInitialState, IN LPCWSTR lpName OPTIONAL)
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)