16 #define P6EVENTQ_H__ 1
41 #define P6EQTYPE(code) ((code) & 0xffff)
42 #define P6EQTYPEOP(code) (((code) >> 16 ) & 0xffff)
72 #define P6EQTYPE(type) ((P6UINT32)(type) & 0xffff)
73 #define P6EQOP(op) (((P6UINT32)(op) >> 16 ) & 0xffff)
74 #define P6EQMAKEEVENT(type,op) ((P6EVENTTYPE)((((P6UINT32)(op) & 0xffff)<<16)|(((P6UINT32)(type) & 0xffff))))
106 #define INTERFACE p6IEventQHooks
132 #define P6IOUSERFLAGS(flags) ((flags) & 0xffff)
133 #define P6IORESERVEDFLAGS(flags) ((flags) >> 16 ) & 0xffff)
135 static const P6IOFLAG P6IOF_NONE = 0x00000000;
136 static const P6IOFLAG P6IOF_RESERVEDMASK = 0xFFFF0000;
138 static const P6IOFLAG P6IOF_USERMASK = 0x0000FFFF;
238 #define INTERFACE p6IEventQ
266 const P6WCHAR *pwszEventSourceDefFile,
366 P6INTERVAL tTimeout)
P6PURE;
373 #define IF_p6IEventQ {0xB54E9FA6,0x1475,0x4BED,{0x89,0xE3,0xD2,0x03,0x34,0x95,0x79,0xD9}}
376 #define COMP_p6EventQ {0xE021593C,0x7B84,0x45C4,{0xB0,0x8B,0x5C,0xE5,0x85,0x98,0xD6,0x69}}
380 #define INTERFACE p6IEventQIO
530 #define IF_p6IEventQIO {0x9E6C7695,0x8BD8,0x423B,{0x81,0xC1,0x36,0x3C,0xCE,0x16,0xFE,0x31}}
533 #define INTERFACE p6IEventQTimer
543 #define IF_p6IEventQTimer {0xC9AF6A73,0xF5EE,0x4F0D,{0x83,0xE5,0x01,0x48,0x5E,0x6D,0x03,0x8A}}
552 #define INTERFACE p6IEventQFactory
587 #define IF_p6IEventQFactory {0xA5D9B7B1,0xFB97,0x41D8,{0xB0,0x9F,0x95,0xD7,0x72,0xB0,0xF6,0x4A}}
590 #define COMP_p6EventQFactory {0x0675CF7E,0x3BFA,0x459E,{0x9E,0x43,0x0A,0xF7,0xB9,0xAD,0xE7,0x22}}
616 #define INTERFACE p6IEventSource
780 #define IF_p6IEventSource {0xF8F6A0A2,0x815C,0x4472,{0x9D,0x6F,0x51,0x40,0xFB,0xC7,0x18,0x61}}
P6UINT32 P6EVENTQFLAG
P6EVENTQFLAG.
P6UINT64 m_cTransfer
When an I/O operation is posted, the number of bytes to read/write (or zero) is placed here...
P6IOFLAG m_fFlags
Control flags, see P6R::P6IOFLAG.
unsigned char P6BOOL
Boolean type.
This factory interface is responsible for creating and managing memory pooled Io Buffers (p6IIoBuffer...
This interface is used by p6IEventQ to perform I/O operations.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
The base interface all [p6]COM components must derive from and implement.
This range of flags are available for the applications use and is typically used for maintaining prot...
P6NETADDR m_address
For operations that take/return a network address.
P6UINT32 m_reserved1
Must be zero.
P6ERR m_err
The result status of the operation on completion.
P6UINT32 P6ERR
COM err return type see P6ERR.h.
This interface is passed into an p6IEventQ which will use it provide notifications and filter of acti...
#define P6DECLCOMMETHOD(method)
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
P6UINT64 m_offset
The offset at which to begin the I/O request.
P6VOID * m_pUser1
User supplied data for this I/O operation.
#define P6DECLAREIF_(iface, baseif)
Aysynchronous, theaded priority queuing interfaces.