Edit

Share via


qos2.h header

This header is used by Quality of Service (QOS). For more information, see:

qos2.h contains the following programming interfaces:

Functions

 
QOSAddSocketToFlow

Adds a new flow for traffic.
QOSCancel

Cancels a pending overlapped operation, like QOSSetFlow.
QOSCloseHandle

The QOSCloseHandle function closes a handle returned by the QOSCreateHandle function.
QOSCreateHandle

This function initializes the QOS subsystem and the QOSHandle parameter. The QOSHandle parameter is used when calling other QOS functions. QOSCreateHandle must be called before any other functions.
QOSEnumerateFlows

Enumerates all existing flows.
QOSNotifyFlow

Registers the calling application to receive a notification.
QOSQueryFlow

Requests information about a specific flow.
QOSRemoveSocketFromFlow

Notifies the QOS subsystem that a previously added flow has been terminated.
QOSSetFlow

Is called by an application to request the QOS subsystem to prioritize the application's packets and change the flow traffic.
QOSStartTrackingClient

The QOSStartTrackingClient function notifies the QOS subsystem of the existence of a new client.
QOSStopTrackingClient

The QOSStopTrackingClient function notifies the QoS subsystem to stop tracking a client that has previously used the QOSStartTrackingClient function. If a flow is currently in progress, this function will not affect it.

Structures

 
QOS_FLOW_FUNDAMENTALS

The QOS_FLOW_FUNDAMENTALS structure contains basic information about a flow.
QOS_FLOWRATE_OUTGOING

The QOS_FLOWRATE_OUTGOING structure is used to set flow rate information in the QOSSetFlow function.
QOS_PACKET_PRIORITY

The QOS_PACKET_PRIORITY structure that indicates the priority of the flow traffic.
QOS_VERSION

The QOS_VERSION structure indicates the version of the QOS protocol.

Enumerations

 
QOS_FLOWRATE_REASON

The QOS_FLOWRATE_REASON enumeration indicates the reason for a change in a flow's bandwidth.
QOS_NOTIFY_FLOW

The QOS_NOTIFY_FLOW enumeration specifies the circumstances that must be present for the QOSNotifyFlow function to send a notification.
QOS_QUERY_FLOW

The QOS_QUERY_FLOW enumeration indicates the type of information a QOSQueryFlow function will request.
QOS_SET_FLOW

The QOS_SET_FLOW enumeration indicates what is being changed about a flow.
QOS_SHAPING

The QOS_SHAPING enumeration defines the shaping behavior of a flow.
QOS_TRAFFIC_TYPE

The QOS_TRAFFIC_TYPE enumeration defines the various traffic types. Each flow has a single traffic type. This allows the QOS subsystem to apply user-specified policies to each type.