SERVICE_TYPE_INFO_ABS structure
The SERVICE_TYPE_INFO_ABS structure contains information about a network service type. Use SERVICE_TYPE_INFO_ABS to add a network service type to a namespace.
Syntax
typedef struct _SERVICE_TYPE_INFO_ABS { LPTSTR lpTypeName; DWORD dwValueCount; SERVICE_TYPE_VALUE_ABS Values[1]; } SERVICE_TYPE_INFO_ABS;
Members
- lpTypeName
-
Pointer to a zero-terminated string that is the name of the network service type. This name is the same in all namespaces, and is used by the GetTypeByName and GetNameByType functions.
- dwValueCount
-
Number of SERVICE_TYPE_VALUE_ABS structures in the Values member array that follows dwValueCount.
- Values
-
Array of SERVICE_TYPE_VALUE_ABS structures.
Each of these structures contains information about a service type value that the operating system or network service may need when an instance of this network service type is registered with a namespace.
The information in these structures may be specific to a namespace. For example, if a network service uses the SAP namespace, but does not have a GUID that contains the SAP identifier (SAPID), it defines the SAPID in a SERVICE_TYPE_VALUE_ABS structure.
Remarks
When you use the SetService function to add a network service type to a namespace, the SERVICE_TYPE_INFO_ABS structure is passed as the ServiceSpecificInfo BLOB member of a SERVICE_INFO structure. Although the ServiceSpecificInfo member generally should not contain pointers, an exception is made in the case of the SERVICE_TYPE_INFO_ABS and SERVICE_TYPE_VALUE_ABS structures.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Unicode and ANSI names |
SERVICE_TYPE_INFO_ABSW (Unicode) and SERVICE_TYPE_INFO_ABSA (ANSI) |
See also