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;

Mitglieder

  • 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.

Hinweise

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.

Anforderungen

Mindestens unterstützter Client

Windows 2000 Professional

Mindestens unterstützter Server

Windows 2000 Server

Header

Nspapi.h

Unicode- und ANSI-Namen

SERVICE_TYPE_INFO_ABSW (Unicode) and SERVICE_TYPE_INFO_ABSA (ANSI)

Siehe auch

SetService

SERVICE_INFO

SERVICE_TYPE_VALUE_ABS