The information in this article applies to:
SUMMARYGetTypeByName takes a service name in string format and returns a global unique identifier (GUID) for it. GetTypeByName is documented in the Win32 SDK. This article is an addendum to the documentation. MORE INFORMATION
The purpose of GetTypeByName is to retrieve a GUID of a service. It does
this first by examining the registry, looking for a local service. If the
key does not exist, the function conducts a search of well-known TCP and
UDP service types. If the service GUID is still unknown, a final comparison
is made against a hard-coded list. See Srvguid.h for a list of most of the
known GUIDs.
REFERENCES"Win32 Software Development Kit Programmer's Reference," version 3.51.
Keywords : kbnetwork kbAPI kbNTOS351 kbSDKPlatform kbWinOS95 kbGrpNet |
Last Reviewed: March 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |