|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| -
| Header File
| nspapi.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
SERVICE_TYPE_VALUE_ABS
The SERVICE_TYPE_VALUE_ABS structure contains information about a network-service type value. This
information may be specific to a name space.
typedef struct _SERVICE_TYPE_VALUE_ABS {
DWORD dwNameSpace;
DWORD dwValueType;
DWORD dwValueSize;
LPTSTR lpValueName;
PVOID lpValue;
} SERVICE_TYPE_VALUE_ABS
Members
dwNameSpace
Specifies the name space, or a set of default name spaces, for which the
network service type value is intended. Name-space providers will look only at
values intended for their name space.
Use one of the following constants to specify a name space:
Value
| Name Space
| NS_DEFAULT
| A set of default name spaces. The function queries each name space within this
set. The set of default name spaces typically includes all the name spaces
installed on the system. System administrators, however, can exclude particular
name spaces from the set. NS_DEFAULT is the value that most applications should
use for dwNameSpace.
| NS_DNS
| The Domain Name System used in the Internet for host name resolution.
| NS_NETBT
| The NetBIOS over TCP/IP layer. All Windows NT systems register their computer
names with NetBIOS. This name space is used to convert a computer name to an IP
address that uses this registration. Note that NS_NETBT may access a WINS
server to perform the resolution.
| NS_SAP
| The Netware Service Advertising Protocol. This may access the Netware bindery
if appropriate. NS_SAP is a dynamic name space that allows registration of
services.
| NS_TCPIP_HOSTS
| Lookup value in the <systemroot>\system32\drivers\etc\hosts file.
| NS_TCPIP_LOCAL
| Local TCP/IP name resolution mechanisms, including comparisons against the
local host name and looks up host names and IP addresses in cache of host to IP
address mappings.
|
dwValueType
Specifies the type of the value data. You can specify one of the following
types:
Value
| Meaning
| REG_BINARY
| Binary data in any form.
| REG_DWORD
| A 32-bit number.
| REG_MULTI_SZ
| An array of null-terminated strings, terminated by two null characters.
| REG_SZ
| A null-terminated string.
|
dwValueSize
Specifies the size, in bytes, of the value data. In the case of REG_SZ and
REG_MULTI_SZ string data, the terminating characters are counted as part of the
size.
lpValueName
Points to a zero-terminated string that is the name of the value. This name is
specific to a name space.
Several commonly used value name strings are associated with defined
constants. These name strings include the following:
Constant
| Name String
| SERVICE_TYPE_VALUE_SAPID
| "SapId"
| SERVICE_TYPE_VALUE_CONN
| "ConnectionOriented"
| SERVICE_TYPE_VALUE_TCPPORT
| "TcpPort"
| SERVICE_TYPE_VALUE_UDPPORT
| "UdpPort"
|
lpValue
Points to the value data.
Remarks
When you use the SetService function to add a network service type to a name space, a 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.
See Also
SetService, SERVICE_INFO, SERVICE_TYPE_INFO_ABS
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|