Microsoft KB Archive/247111

= HOW TO: Find QoS Templates =

Article ID: 247111

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q247111





IN THIS TASK
SUMMARY
 * Enumerating the QOS Templates



SUMMARY
This article describes how to find QoS templates. QoS templates are available so that when you have program types that require similar QoS parameters, you do not have to direct the QoS Service provider to prepare and invoke QoS capabilities for each one. Programs are in one category or another, so using QoS Templates allows you to choose a template that best resembles the required transmission characteristics that you need to QoS-enable your program.

back to the top

Enumerating the QOS Templates
To discover which templates are available on a computer, you must enumerate the QOS templates. To do this, follow these steps:


 * 1) Call WSAGetQOSByName with the lpQOS parameter set to NULL and a pointer to a structure of type WSABUF provided for the lpQOSName parameter.
 * 2) A list of available QoS template names is returned in the WSABUF structure pointed to by lpQOSName.
 * 3) Next, Select the appropriate template to service your program's QoS parameters.

QoS templates are also stored in the Registry in the following location:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2\QOS\GlobalQosTemplates

back to the top

Additional query words: QoS template registry

Keywords: kbenv kbhowto kbhowtomaster KB247111

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.