#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
Go to the source code of this file.
|
#define | DPQ_INSERT(a, b, c) DPQ_INSERT_IN_TAIL(a,b,c) |
|
#define | DPQ_HEAD(type) |
|
#define | DPQ_ENTRY(type) |
|
#define | DPQ_INIT(head) |
|
#define | DPQ_FIRST(head) ( (head).lpQHFirst ) |
|
#define | DPQ_IS_EMPTY(head) ( DPQ_FIRST(head) == NULL ) |
|
#define | DPQ_NEXT(elem) (elem).lpQNext |
|
#define | DPQ_IS_ENDOFLIST(elem) ( DPQ_NEXT(elem) == NULL ) |
|
#define | DPQ_INSERT_IN_TAIL(head, elm, field) |
|
#define | DPQ_REMOVE(head, elm, field) |
|
#define | DPQ_FIND_ENTRY(head, elm, field, fieldCompareOperator, fieldToCompare, rc) |
|
#define | DPQ_FIND_ENTRY_CB(head, elm, field, compare_cb, fieldToCompare, rc) |
|
#define | DPQ_DECL_COMPARECB(name, type) BOOL name( const type* elem1, const type* elem2 ) |
|
#define | DPQ_REMOVE_ENTRY(head, elm, field, fieldCompareOperator, fieldToCompare, rc) |
|
#define | DPQ_REMOVE_ENTRY_CB(head, elm, field, compare_cb, fieldToCompare, rc) |
|
#define | DPQ_DELETEQ(head, field, type, df) |
|
#define | DPQ_DECL_DELETECB(name, type) void name( type elem ) |
|
◆ DPQ_DECL_COMPARECB
◆ DPQ_DECL_DELETECB
◆ DPQ_DELETEQ
Value:do \
{ \
{ \
df( holder ); \
} \
} while(0)
#define DPQ_IS_EMPTY(head)
struct outqueuenode * head
Definition at line 199 of file dplayx_queue.h.
◆ DPQ_ENTRY
Value:struct { \
}
GLuint GLuint GLsizei GLenum type
Definition at line 45 of file dplayx_queue.h.
◆ DPQ_FIND_ENTRY
#define DPQ_FIND_ENTRY |
( |
|
head, |
|
|
|
elm, |
|
|
|
field, |
|
|
|
fieldCompareOperator, |
|
|
|
fieldToCompare, |
|
|
|
rc |
|
) |
| |
Value:do { \
{ \
\
if( (rc)->
field fieldCompareOperator (fieldToCompare) ) \
{ \
break; \
} \
\
\
if( ( (rc) = (rc)->elm.lpQNext ) == (
head).lpQHFirst ) \
{ \
break; \
} \
} \
} while(0)
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
struct outqueuenode * head
Definition at line 100 of file dplayx_queue.h.
◆ DPQ_FIND_ENTRY_CB
#define DPQ_FIND_ENTRY_CB |
( |
|
head, |
|
|
|
elm, |
|
|
|
field, |
|
|
|
compare_cb, |
|
|
|
fieldToCompare, |
|
|
|
rc |
|
) |
| |
Value:do { \
{ \
\
if( compare_cb( &((rc)->
field), &(fieldToCompare) ) ) \
{ \
break; \
} \
\
\
if( ( (rc) = (rc)->elm.lpQNext ) == (
head).lpQHFirst ) \
{ \
break; \
} \
} \
} while(0)
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
struct outqueuenode * head
Definition at line 129 of file dplayx_queue.h.
◆ DPQ_FIRST
◆ DPQ_HEAD
Value:struct { \
struct
type *lpQHFirst; \
struct
type **lpQHLast; \
}
GLuint GLuint GLsizei GLenum type
Definition at line 39 of file dplayx_queue.h.
◆ DPQ_INIT
Value:do{ \
} while(0)
struct outqueuenode * head
Definition at line 54 of file dplayx_queue.h.
◆ DPQ_INSERT
◆ DPQ_INSERT_IN_TAIL
Value:do { \
(elm)->field.lpQPrev = (
head).lpQHLast; \
*(
head).lpQHLast = (elm); \
(
head).lpQHLast = &(elm)->field.lpQNext; \
} while(0)
struct outqueuenode * head
Definition at line 73 of file dplayx_queue.h.
◆ DPQ_IS_EMPTY
◆ DPQ_IS_ENDOFLIST
◆ DPQ_NEXT
◆ DPQ_REMOVE
Value:do { \
(elm)->
field.lpQNext->field.lpQPrev = \
(elm)->field.lpQPrev; \
else \
(
head).lpQHLast = (elm)->field.lpQPrev; \
*(elm)->
field.lpQPrev = (elm)->field.lpQNext; \
} while(0)
struct outqueuenode * head
Definition at line 82 of file dplayx_queue.h.
◆ DPQ_REMOVE_ENTRY
#define DPQ_REMOVE_ENTRY |
( |
|
head, |
|
|
|
elm, |
|
|
|
field, |
|
|
|
fieldCompareOperator, |
|
|
|
fieldToCompare, |
|
|
|
rc |
|
) |
| |
Value:do { \
DPQ_FIND_ENTRY(
head, elm,
field, fieldCompareOperator, fieldToCompare, rc );\
\
\
if( rc ) \
{ \
DPQ_REMOVE(
head, rc, elm ); \
} \
} while(0)
struct outqueuenode * head
Definition at line 162 of file dplayx_queue.h.
◆ DPQ_REMOVE_ENTRY_CB
#define DPQ_REMOVE_ENTRY_CB |
( |
|
head, |
|
|
|
elm, |
|
|
|
field, |
|
|
|
compare_cb, |
|
|
|
fieldToCompare, |
|
|
|
rc |
|
) |
| |
Value:do { \
DPQ_FIND_ENTRY_CB(
head, elm,
field, compare_cb, fieldToCompare, rc );\
\
\
if( rc ) \
{ \
DPQ_REMOVE(
head, rc, elm ); \
} \
} while(0)
struct outqueuenode * head
Definition at line 181 of file dplayx_queue.h.
◆ DPQ_DECL_DELETECB()
DPQ_DECL_DELETECB |
( |
cbDeleteElemFromHeap |
, |
|
|
LPVOID |
|
|
) |
| |
Definition at line 197 of file dplay.c.
#define HeapFree(x, y, z)