ReactOS 0.4.15-dev-7961-gdcf9eb0
nspapi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _BLOB
 
struct  _SERVICE_ADDRESS
 
struct  _SERVICE_ADDRESSES
 
struct  _SERVICE_INFOA
 
struct  _SERVICE_INFOW
 

Macros

#define NS_ALL   0
 
#define NS_SAP   1
 
#define NS_NDS   2
 
#define NS_PEER_BROWSE   3
 
#define NS_TCPIP_LOCAL   10
 
#define NS_TCPIP_HOSTS   11
 
#define NS_DNS   12
 
#define NS_NETBT   13
 
#define NS_WINS   14
 
#define NS_NBP   20
 
#define NS_MS   30
 
#define NS_STDA   31
 
#define NS_NTDS   32
 
#define NS_X500   40
 
#define NS_NIS   41
 
#define NS_NISPLUS   42
 
#define NS_WRQ   50
 
#define SERVICE_REGISTER   1
 
#define SERVICE_DEREGISTER   2
 
#define SERVICE_FLUSH   3
 
#define SERVICE_FLAG_HARD   0x00000002
 
#define __BLOB_T_DEFINED
 
#define _SERVICE_INFO   SERVICE_INFOA
 
#define SetService   SetServiceA
 
#define GetAddressByName   GetAddressByNameA
 

Typedefs

typedef struct _BLOB BLOB
 
typedef struct _BLOBPBLOB
 
typedef struct _BLOBLPBLOB
 
typedef struct _SERVICE_ADDRESS SERVICE_ADDRESS
 
typedef struct _SERVICE_ADDRESSES SERVICE_ADDRESSES
 
typedef struct _SERVICE_ADDRESSESPSERVICE_ADDRESSES
 
typedef struct _SERVICE_ADDRESSESLPSERVICE_ADDRESSES
 
typedef struct _SERVICE_INFOA SERVICE_INFOA
 
typedef struct _SERVICE_INFOALPSERVICE_INFOA
 
typedef struct _SERVICE_INFOW SERVICE_INFOW
 
typedef struct _SERVICE_INFOWLPSERVICE_INFOW
 
typedef voidLPSERVICE_ASYNC_INFO
 
typedef SERVICE_INFOA SERVICE_INFO
 
typedef SERVICE_INFOALPSERVICE_INFO
 

Functions

INT WINAPI SetServiceA (DWORD, DWORD, DWORD, LPSERVICE_INFOA, LPSERVICE_ASYNC_INFO, LPDWORD)
 
INT WINAPI SetServiceW (DWORD, DWORD, DWORD, LPSERVICE_INFOW, LPSERVICE_ASYNC_INFO, LPDWORD)
 
INT WINAPI GetAddressByNameA (DWORD, LPGUID, LPSTR, LPINT, DWORD, LPSERVICE_ASYNC_INFO, LPVOID, LPDWORD, LPSTR, LPDWORD)
 
INT WINAPI GetAddressByNameW (DWORD, LPGUID, LPWSTR, LPINT, DWORD, LPSERVICE_ASYNC_INFO, LPVOID, LPDWORD, LPWSTR, LPDWORD)
 

Macro Definition Documentation

◆ __BLOB_T_DEFINED

#define __BLOB_T_DEFINED

Definition at line 56 of file nspapi.h.

◆ _SERVICE_INFO

#define _SERVICE_INFO   SERVICE_INFOA

Definition at line 113 of file nspapi.h.

◆ GetAddressByName

#define GetAddressByName   GetAddressByNameA

Definition at line 115 of file nspapi.h.

◆ NS_ALL

#define NS_ALL   0

Definition at line 8 of file nspapi.h.

◆ NS_DNS

#define NS_DNS   12

Definition at line 16 of file nspapi.h.

◆ NS_MS

#define NS_MS   30

Definition at line 22 of file nspapi.h.

◆ NS_NBP

#define NS_NBP   20

Definition at line 20 of file nspapi.h.

◆ NS_NDS

#define NS_NDS   2

Definition at line 11 of file nspapi.h.

◆ NS_NETBT

#define NS_NETBT   13

Definition at line 17 of file nspapi.h.

◆ NS_NIS

#define NS_NIS   41

Definition at line 27 of file nspapi.h.

◆ NS_NISPLUS

#define NS_NISPLUS   42

Definition at line 28 of file nspapi.h.

◆ NS_NTDS

#define NS_NTDS   32

Definition at line 24 of file nspapi.h.

◆ NS_PEER_BROWSE

#define NS_PEER_BROWSE   3

Definition at line 12 of file nspapi.h.

◆ NS_SAP

#define NS_SAP   1

Definition at line 10 of file nspapi.h.

◆ NS_STDA

#define NS_STDA   31

Definition at line 23 of file nspapi.h.

◆ NS_TCPIP_HOSTS

#define NS_TCPIP_HOSTS   11

Definition at line 15 of file nspapi.h.

◆ NS_TCPIP_LOCAL

#define NS_TCPIP_LOCAL   10

Definition at line 14 of file nspapi.h.

◆ NS_WINS

#define NS_WINS   14

Definition at line 18 of file nspapi.h.

◆ NS_WRQ

#define NS_WRQ   50

Definition at line 30 of file nspapi.h.

◆ NS_X500

#define NS_X500   40

Definition at line 26 of file nspapi.h.

◆ SERVICE_DEREGISTER

#define SERVICE_DEREGISTER   2

Definition at line 33 of file nspapi.h.

◆ SERVICE_FLAG_HARD

#define SERVICE_FLAG_HARD   0x00000002

Definition at line 35 of file nspapi.h.

◆ SERVICE_FLUSH

#define SERVICE_FLUSH   3

Definition at line 34 of file nspapi.h.

◆ SERVICE_REGISTER

#define SERVICE_REGISTER   1

Definition at line 32 of file nspapi.h.

◆ SetService

#define SetService   SetServiceA

Definition at line 114 of file nspapi.h.

Typedef Documentation

◆ BLOB

typedef struct _BLOB BLOB

◆ LPBLOB

typedef struct _BLOB* LPBLOB

◆ LPSERVICE_ADDRESSES

◆ LPSERVICE_ASYNC_INFO

Definition at line 100 of file nspapi.h.

◆ LPSERVICE_INFO

Definition at line 112 of file nspapi.h.

◆ LPSERVICE_INFOA

◆ LPSERVICE_INFOW

◆ PBLOB

typedef struct _BLOB* PBLOB

◆ PSERVICE_ADDRESSES

◆ SERVICE_ADDRESS

◆ SERVICE_ADDRESSES

◆ SERVICE_INFO

Definition at line 112 of file nspapi.h.

◆ SERVICE_INFOA

◆ SERVICE_INFOW

Function Documentation

◆ GetAddressByNameA()

INT WINAPI GetAddressByNameA ( DWORD  NameSpace,
LPGUID  ServiceType,
LPSTR  ServiceName,
LPINT  Protocols,
DWORD  Resolution,
LPSERVICE_ASYNC_INFO  ServiceAsyncInfo,
LPVOID  CsaddrBuffer,
LPDWORD  BufferLength,
LPSTR  AliasBuffer,
LPDWORD  AliasBufferLength 
)

Definition at line 60 of file stubs.c.

70{
71 OutputDebugStringW(L"w32sock GetAddressByNameA stub called\n");
72
73 return SOCKET_ERROR;
74}
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
#define L(x)
Definition: ntvdm.h:50
#define SOCKET_ERROR
Definition: winsock.h:333

◆ GetAddressByNameW()

INT WINAPI GetAddressByNameW ( DWORD  NameSpace,
LPGUID  ServiceType,
LPWSTR  ServiceName,
LPINT  Protocols,
DWORD  Resolution,
LPSERVICE_ASYNC_INFO  ServiceAsyncInfo,
LPVOID  CsaddrBuffer,
LPDWORD  BufferLength,
LPWSTR  AliasBuffer,
LPDWORD  AliasBufferLength 
)

Definition at line 82 of file stubs.c.

92{
93 OutputDebugStringW(L"w32sock GetAddressByNameW stub called\n");
94
95 return SOCKET_ERROR;
96}

◆ SetServiceA()

INT WINAPI SetServiceA ( DWORD  NameSpace,
DWORD  Operation,
DWORD  Flags,
LPSERVICE_INFOA  ServiceInfo,
LPSERVICE_ASYNC_INFO  ServiceAsyncInfo,
LPDWORD  dwStatusFlags 
)

Definition at line 185 of file stubs.c.

191{
192 OutputDebugStringW(L"w32sock SetServiceA stub called\n");
193
194 return SOCKET_ERROR;
195}

◆ SetServiceW()

INT WINAPI SetServiceW ( DWORD  NameSpace,
DWORD  Operation,
DWORD  Flags,
LPSERVICE_INFOW  ServiceInfo,
LPSERVICE_ASYNC_INFO  ServiceAsyncInfo,
LPDWORD  dwStatusFlags 
)

Definition at line 203 of file stubs.c.

209{
210 OutputDebugStringW(L"w32sock SetServiceW stub called\n");
211
212 return SOCKET_ERROR;
213}