HOW TO: Find QoS Templates (247111)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server

This article was previously published under Q247111

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

Modification Type:MajorLast Reviewed:11/13/2003
Keywords:kbenv kbhowto kbHOWTOmaster KB247111 kbAudITPro