ReactOS 0.4.17-dev-1037-g720d112
ucxsstreams.h File Reference
#include "ucxglobals.h"
#include "ucxfuncenum.h"
#include "ucxobjects.h"
Include dependency graph for ucxsstreams.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _STREAM_INFO
 

Typedefs

typedef WDF_EXTERN_C_START struct _STREAM_INFO STREAM_INFO
 
typedef WDF_EXTERN_C_START struct _STREAM_INFO * PSTREAM_INFO
 
typedef VOID(NTAPI * PFN_UCXSTATICSTREAMSSETSTREAMINFO) (_In_ PUCX_DRIVER_GLOBALS DriverGlobals, _In_ UCXSSTREAMS StaticStreams, _In_ PSTREAM_INFO StreamInfo)
 
typedef _Must_inspect_result_ _IRQL_requires_(PASSIVE_LEVEL) NTSTATUS(NTAPI *PFN_UCXSTATICSTREAMSCREATE) (_In_ PUCX_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ UCXENDPOINT Endpoint
 
typedef _Must_inspect_result_ _In_ UCXENDPOINT _Inout_ PUCXSSTREAMS_INIT * StaticStreamsInit
 
typedef _Must_inspect_result_ _In_ UCXENDPOINT _Inout_ PUCXSSTREAMS_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
 
typedef _Must_inspect_result_ _In_ UCXENDPOINT _Inout_ PUCXSSTREAMS_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ UCXSSTREAMS * StaticStreams
 

Functions

FORCEINLINE VOID NTAPI STREAM_INFO_INIT (_Out_ PSTREAM_INFO StreamInfo, _In_ WDFQUEUE WdfQueue, _In_ ULONG StreamId)
 
FORCEINLINE VOID NTAPI UcxStaticStreamsSetStreamInfo (_In_ UCXSSTREAMS StaticStreams, _In_ PSTREAM_INFO StreamInfo)
 
return Create (UcxDriverGlobals, Endpoint, StaticStreamsInit, Attributes, StaticStreams)
 

Variables

 Create = UCX_BOUND_FUNCTION(PFN_UCXSTATICSTREAMSCREATE, UcxStaticStreamsCreateTableIndex)
 

Typedef Documentation

◆ _IRQL_requires_

typedef _Must_inspect_result_ _IRQL_requires_(PASSIVE_LEVEL) NTSTATUS(NTAPI *PFN_UCXSTATICSTREAMSCREATE)(_In_ PUCX_DRIVER_GLOBALS DriverGlobals

Definition at line 48 of file ucxsstreams.h.

◆ Attributes

◆ Endpoint

typedef _Must_inspect_result_ _In_ UCXENDPOINT Endpoint

Definition at line 52 of file ucxsstreams.h.

◆ PFN_UCXSTATICSTREAMSSETSTREAMINFO

typedef VOID(NTAPI * PFN_UCXSTATICSTREAMSSETSTREAMINFO) (_In_ PUCX_DRIVER_GLOBALS DriverGlobals, _In_ UCXSSTREAMS StaticStreams, _In_ PSTREAM_INFO StreamInfo)

Definition at line 40 of file ucxsstreams.h.

◆ PSTREAM_INFO

◆ StaticStreams

Initial value:
{
PFN_UCXSTATICSTREAMSCREATE Create
Create
Definition: ucxsstreams.h:84

Definition at line 55 of file ucxsstreams.h.

◆ StaticStreamsInit

◆ STREAM_INFO

Function Documentation

◆ Create()

◆ STREAM_INFO_INIT()

FORCEINLINE VOID NTAPI STREAM_INFO_INIT ( _Out_ PSTREAM_INFO  StreamInfo,
_In_ WDFQUEUE  WdfQueue,
_In_ ULONG  StreamId 
)

Definition at line 26 of file ucxsstreams.h.

30{
31 RtlZeroMemory(StreamInfo, sizeof(*StreamInfo));
32 StreamInfo->Size = sizeof(*StreamInfo);
33 StreamInfo->WdfQueue = WdfQueue;
34 StreamInfo->StreamId = StreamId;
35}
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262

◆ UcxStaticStreamsSetStreamInfo()

FORCEINLINE VOID NTAPI UcxStaticStreamsSetStreamInfo ( _In_ UCXSSTREAMS  StaticStreams,
_In_ PSTREAM_INFO  StreamInfo 
)

Definition at line 60 of file ucxsstreams.h.

63{
65
68 SetStreamInfo(UcxDriverGlobals, StaticStreams, StreamInfo);
69}
@ UcxStaticStreamsSetStreamInfoTableIndex
Definition: ucxfuncenum.h:32
#define UCX_BOUND_FUNCTION(PfnType, Slot)
Definition: ucxfuncenum.h:40
PUCX_DRIVER_GLOBALS UcxDriverGlobals
Definition: ucxstub.c:32
VOID(NTAPI * PFN_UCXSTATICSTREAMSSETSTREAMINFO)(_In_ PUCX_DRIVER_GLOBALS DriverGlobals, _In_ UCXSSTREAMS StaticStreams, _In_ PSTREAM_INFO StreamInfo)
Definition: ucxsstreams.h:41
_Must_inspect_result_ _In_ UCXENDPOINT _Inout_ PUCXSSTREAMS_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ UCXSSTREAMS * StaticStreams
Definition: ucxsstreams.h:55

Variable Documentation

◆ Create

Create = UCX_BOUND_FUNCTION(PFN_UCXSTATICSTREAMSCREATE, UcxStaticStreamsCreateTableIndex)

Definition at line 84 of file ucxsstreams.h.