NS_SERVICE_INFOA structure (nspapi.h)
The NS_SERVICE_INFO structure contains information about a network service or a network service type in the context of a specified namespace, or a set of default namespaces.
Syntax
typedef struct _NS_SERVICE_INFOA {
DWORD dwNameSpace;
SERVICE_INFOA ServiceInfo;
} NS_SERVICE_INFOA, *PNS_SERVICE_INFOA, *LPNS_SERVICE_INFOA;
Members
dwNameSpace
Type: DWORD
Namespace, or a set of default namespaces, to which this service information applies.
Use one of the following constant values to specify a namespace.
ServiceInfo
Type: SERVICE_INFO
A SERVICE_INFO structure that contains information about a network service or network service type.
Remarks
Note
The nspapi.h header defines NS_SERVICE_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | nspapi.h |