QOS structure (winsock2.h)

The QOS structure provides the means by which QOS-enabled applications can specify quality of service parameters for sent and received traffic on a particular flow.

Syntax

typedef struct _QualityOfService {
  FLOWSPEC SendingFlowspec;
  FLOWSPEC ReceivingFlowspec;
  WSABUF   ProviderSpecific;
} QOS, *LPQOS;

Members

SendingFlowspec

Specifies QOS parameters for the sending direction of a particular flow. SendingFlowspec is sent in the form of a FLOWSPEC structure.

ReceivingFlowspec

Specifies QOS parameters for the receiving direction of a particular flow. ReceivingFlowspec is sent in the form of a FLOWSPEC structure.

ProviderSpecific

Pointer to a structure of type WSABUF that can provide additional provider-specific quality of service parameters to the RSVP SP for a given flow.

Remarks

Most applications can fulfill their quality of service requirements without using the ProviderSpecific buffer. However, if the application must provide information not available with standard Windows 2000 QOS parameters, the ProviderSpecific buffer allows the application to provide additional parameters for RSVP and/or traffic control.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winsock2.h

See also

FLOWSPEC

ProviderSpecific Buffer