ReactOS 0.4.17-dev-934-g091855f
dpaddr.h File Reference
#include <ole2.h>
#include <dplay8.h>
Include dependency graph for dpaddr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DPNA_DATATYPE_STRING   0x00000001
 
#define DPNA_DATATYPE_DWORD   0x00000002
 
#define DPNA_DATATYPE_GUID   0x00000003
 
#define DPNA_DATATYPE_BINARY   0x00000004
 
#define DPNA_DATATYPE_STRING_ANSI   0x00000005
 
#define DPNA_DPNSVR_PORT   6073
 
#define DPNA_INDEX_INVALID   0xFFFFFFFF
 
#define DPNA_SEPARATOR_KEYVALUE   L'='
 
#define DPNA_SEPARATOR_KEYVALUE_A   '='
 
#define DPNA_SEPARATOR_USERDATA   L'#'
 
#define DPNA_SEPARATOR_USERDATA_A   '#'
 
#define DPNA_SEPARATOR_COMPONENT   L';'
 
#define DPNA_SEPARATOR_COMPONENT_A   ';'
 
#define DPNA_ESCAPECHAR   L'%'
 
#define DPNA_ESCAPECHAR_A   '%'
 
#define DPNA_HEADER_A   "x-directplay:/"
 
#define DPNA_KEY_APPLICATION_INSTANCE_A   "applicationinstance"
 
#define DPNA_KEY_BAUD_A   "baud"
 
#define DPNA_KEY_DEVICE_A   "device"
 
#define DPNA_KEY_FLOWCONTROL_A   "flowcontrol"
 
#define DPNA_KEY_HOSTNAME_A   "hostname"
 
#define DPNA_KEY_NAMEINFO_A   "nameinfo"
 
#define DPNA_KEY_PARITY_A   "parity"
 
#define DPNA_KEY_PHONENUMBER_A   "phonenumber"
 
#define DPNA_KEY_PORT_A   "port"
 
#define DPNA_KEY_PROCESSOR_A   "processor"
 
#define DPNA_KEY_PROGRAM_A   "program"
 
#define DPNA_KEY_PROVIDER_A   "provider"
 
#define DPNA_KEY_SCOPE_A   "scope"
 
#define DPNA_KEY_STOPBITS_A   "stopbits"
 
#define DPNA_KEY_TRAVERSALMODE_A   "traversalmode"
 
#define DPNA_STOP_BITS_ONE_A   "1"
 
#define DPNA_STOP_BITS_ONE_FIVE_A   "1.5"
 
#define DPNA_STOP_BITS_TWO_A   "2"
 
#define DPNA_PARITY_NONE_A   "NONE"
 
#define DPNA_PARITY_EVEN_A   "EVEN"
 
#define DPNA_PARITY_ODD_A   "ODD"
 
#define DPNA_PARITY_MARK_A   "MARK"
 
#define DPNA_PARITY_SPACE_A   "SPACE"
 
#define DPNA_FLOW_CONTROL_NONE_A   "NONE"
 
#define DPNA_FLOW_CONTROL_XONXOFF_A   "XONXOFF"
 
#define DPNA_FLOW_CONTROL_RTS_A   "RTS"
 
#define DPNA_FLOW_CONTROL_DTR_A   "DTR"
 
#define DPNA_FLOW_CONTROL_RTSDTR_A   "RTSDTR"
 
#define DPNA_VALUE_TCPIPPROVIDER_A   "IP"
 
#define DPNA_VALUE_IPXPROVIDER_A   "IPX"
 
#define DPNA_VALUE_MODEMPROVIDER_A   "MODEM"
 
#define DPNA_VALUE_SERIALPROVIDER_A   "SERIAL"
 
#define DPNA_BAUD_RATE_9600   9600
 
#define DPNA_BAUD_RATE_14400   14400
 
#define DPNA_BAUD_RATE_19200   19200
 
#define DPNA_BAUD_RATE_38400   38400
 
#define DPNA_BAUD_RATE_56000   56000
 
#define DPNA_BAUD_RATE_57600   57600
 
#define DPNA_BAUD_RATE_115200   115200
 
#define INTERFACE   IDirectPlay8Address
 
#define IDirectPlay8Address_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectPlay8Address_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectPlay8Address_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectPlay8Address_BuildFromURLW(p, a)   (p)->lpVtbl->BuildFromURLW(p,a)
 
#define IDirectPlay8Address_BuildFromURLA(p, a)   (p)->lpVtbl->BuildFromURLA(p,a)
 
#define IDirectPlay8Address_Duplicate(p, a)   (p)->lpVtbl->Duplicate(p,a)
 
#define IDirectPlay8Address_SetEqual(p, a)   (p)->lpVtbl->SetEqual(p,a)
 
#define IDirectPlay8Address_IsEqual(p, a)   (p)->lpVtbl->IsEqual(p,a)
 
#define IDirectPlay8Address_Clear(p)   (p)->lpVtbl->Clear(p)
 
#define IDirectPlay8Address_GetURLW(p, a, b)   (p)->lpVtbl->GetURLW(p,a,b)
 
#define IDirectPlay8Address_GetURLA(p, a, b)   (p)->lpVtbl->GetURLA(p,a,b)
 
#define IDirectPlay8Address_GetSP(p, a)   (p)->lpVtbl->GetSP(p,a)
 
#define IDirectPlay8Address_GetUserData(p, a, b)   (p)->lpVtbl->GetUserData(p,a,b)
 
#define IDirectPlay8Address_SetSP(p, a)   (p)->lpVtbl->SetSP(p,a)
 
#define IDirectPlay8Address_SetUserData(p, a, b)   (p)->lpVtbl->SetUserData(p,a,b)
 
#define IDirectPlay8Address_GetNumComponents(p, a)   (p)->lpVtbl->GetNumComponents(p,a)
 
#define IDirectPlay8Address_GetComponentByName(p, a, b, c, d)   (p)->lpVtbl->GetComponentByName(p,a,b,c,d)
 
#define IDirectPlay8Address_GetComponentByIndex(p, a, b, c, d, e, f)   (p)->lpVtbl->GetComponentByIndex(p,a,b,c,d,e,f)
 
#define IDirectPlay8Address_AddComponent(p, a, b, c, d)   (p)->lpVtbl->AddComponent(p,a,b,c,d)
 
#define IDirectPlay8Address_SetDevice(p, a)   (p)->lpVtbl->SetDevice(p,a)
 
#define IDirectPlay8Address_GetDevice(p, a)   (p)->lpVtbl->GetDevice(p,a)
 
#define IDirectPlay8Address_BuildFromDirectPlay4Address(p, a, b)   (p)->lpVtbl->BuildFromDirectPlay4Address(p,a,b)
 
#define INTERFACE   IDirectPlay8AddressIP
 
#define IDirectPlay8AddressIP_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(a,b)
 
#define IDirectPlay8AddressIP_AddRef(p)   (p)->lpVtbl->AddRef()
 
#define IDirectPlay8AddressIP_Release(p)   (p)->lpVtbl->Release()
 
#define IDirectPlay8AddressIP_BuildFromSockAddr(p, a)   (p)->lpVtbl->BuildFromSockAddr(a)
 
#define IDirectPlay8AddressIP_BuildAddress(p, a, b)   (p)->lpVtbl->BuildAddress(a,b)
 
#define IDirectPlay8AddressIP_BuildLocalAddress(p, a, b)   (p)->lpVtbl->BuildLocalAddress(a,b)
 
#define IDirectPlay8AddressIP_GetSockAddress(p, a, b)   (p)->lpVtbl->GetSockAddress(a,b)
 
#define IDirectPlay8AddressIP_GetLocalAddress(p, a, b)   (p)->lpVtbl->GetLocalAddress(a,b)
 
#define IDirectPlay8AddressIP_GetAddress(p, a, b, c)   (p)->lpVtbl->GetAddress(a,b,c)
 

Typedefs

typedef REFIID DPNAREFIID
 
typedef struct sockaddr SOCKADDR
 
typedef struct IDirectPlay8Address * PDIRECTPLAY8ADDRESS
 
typedef struct IDirectPlay8Address * LPDIRECTPLAY8ADDRESS
 
typedef struct IDirectPlay8AddressIP * PDIRECTPLAY8ADDRESSIP
 
typedef struct IDirectPlay8AddressIP * LPDIRECTPLAY8ADDRESSIP
 

Functions

 DEFINE_GUID (CLSID_DirectPlay8Address, 0x934a9523, 0xa3ca, 0x4bc5, 0xad, 0xa0, 0xd6, 0xd9, 0x5d, 0x97, 0x94, 0x21)
 
 DEFINE_GUID (IID_IDirectPlay8Address, 0x83783300, 0x4063, 0x4c8a, 0x9d, 0xb3, 0x82, 0x83, 0xa, 0x7f, 0xeb, 0x31)
 
 DEFINE_GUID (IID_IDirectPlay8AddressIP, 0xe5a0e990, 0x2bad, 0x430b, 0x87, 0xda, 0xa1, 0x42, 0xcf, 0x75, 0xde, 0x58)
 
 DECLARE_INTERFACE_ (IDirectPlay8Address, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectPlay8AddressIP, IUnknown)
 
HRESULT WINAPI DirectPlay8AddressCreate (const GUID *pcIID, LPVOID *ppvInterface, IUnknown *pUnknown)
 

Variables

static const WCHAR DPNA_HEADER [] = { 'x','-','d','i','r','e','c','t','p','l','a','y',':','/',0 }
 
static const WCHAR DPNA_KEY_APPLICATION_INSTANCE [] = { 'a','p','p','l','i','c','a','t','i','o','n','i','n','s','t','a','n','c','e',0 }
 
static const WCHAR DPNA_KEY_BAUD [] = { 'b','a','u','d',0 }
 
static const WCHAR DPNA_KEY_DEVICE [] = { 'd','e','v','i','c','e',0 }
 
static const WCHAR DPNA_KEY_FLOWCONTROL [] = { 'f','l','o','w','c','o','n','t','r','o','l',0 }
 
static const WCHAR DPNA_KEY_HOSTNAME [] = { 'h','o','s','t','n','a','m','e',0 }
 
static const WCHAR DPNA_KEY_NAMEINFO [] = { 'n','a','m','e','i','n','f','o',0 }
 
static const WCHAR DPNA_KEY_PARITY [] = { 'p','a','r','i','t','y',0 }
 
static const WCHAR DPNA_KEY_PHONENUMBER [] = { 'p','h','o','n','e','n','u','m','b','e','r',0 }
 
static const WCHAR DPNA_KEY_PORT [] = { 'p','o','r','t',0 }
 
static const WCHAR DPNA_KEY_PROCESSOR [] = { 'p','r','o','c','e','s','s','o','r',0 }
 
static const WCHAR DPNA_KEY_PROGRAM [] = { 'p','r','o','g','r','a','m',0 }
 
static const WCHAR DPNA_KEY_PROVIDER [] = { 'p','r','o','v','i','d','e','r',0 }
 
static const WCHAR DPNA_KEY_SCOPE [] = { 's','c','o','p','e',0 }
 
static const WCHAR DPNA_KEY_STOPBITS [] = { 's','t','o','p','b','i','t','s',0 }
 
static const WCHAR DPNA_KEY_TRAVERSALMODE [] = { 't','r','a','v','e','r','s','a','l','m','o','d','e',0 }
 
static const WCHAR DPNA_STOP_BITS_ONE [] = { '1',0 }
 
static const WCHAR DPNA_STOP_BITS_ONE_FIVE [] = { '1','.','5',0 }
 
static const WCHAR DPNA_STOP_BITS_TWO [] = { '2',0 }
 
static const WCHAR DPNA_PARITY_NONE [] = { 'N','O','N','E',0 }
 
static const WCHAR DPNA_PARITY_EVEN [] = { 'E','V','E','N',0 }
 
static const WCHAR DPNA_PARITY_ODD [] = { 'O','D','D',0 }
 
static const WCHAR DPNA_PARITY_MARK [] = { 'M','A','R','K',0 }
 
static const WCHAR DPNA_PARITY_SPACE [] = { 'S','P','A','C','E',0 }
 
static const WCHAR DPNA_FLOW_CONTROL_NONE [] = { 'N','O','N','E',0 }
 
static const WCHAR DPNA_FLOW_CONTROL_XONXOFF [] = { 'X','O','N','X','O','F','F',0 }
 
static const WCHAR DPNA_FLOW_CONTROL_RTS [] = { 'R','T','S',0 }
 
static const WCHAR DPNA_FLOW_CONTROL_DTR [] = { 'D','T','R',0 }
 
static const WCHAR DPNA_FLOW_CONTROL_RTSDTR [] = { 'R','T','S','D','T','R',0 }
 
static const WCHAR DPNA_VALUE_TCPIPPROVIDER [] = { 'I','P',0 }
 
static const WCHAR DPNA_VALUE_IPXPROVIDER [] = { 'I','P','X',0 }
 
static const WCHAR DPNA_VALUE_MODEMPROVIDER [] = { 'M','O','D','E','M',0 }
 
static const WCHAR DPNA_VALUE_SERIALPROVIDER [] = { 'S','E','R','I','A','L',0 }
 

Macro Definition Documentation

◆ DPNA_BAUD_RATE_115200

#define DPNA_BAUD_RATE_115200   115200

Definition at line 171 of file dpaddr.h.

◆ DPNA_BAUD_RATE_14400

#define DPNA_BAUD_RATE_14400   14400

Definition at line 166 of file dpaddr.h.

◆ DPNA_BAUD_RATE_19200

#define DPNA_BAUD_RATE_19200   19200

Definition at line 167 of file dpaddr.h.

◆ DPNA_BAUD_RATE_38400

#define DPNA_BAUD_RATE_38400   38400

Definition at line 168 of file dpaddr.h.

◆ DPNA_BAUD_RATE_56000

#define DPNA_BAUD_RATE_56000   56000

Definition at line 169 of file dpaddr.h.

◆ DPNA_BAUD_RATE_57600

#define DPNA_BAUD_RATE_57600   57600

Definition at line 170 of file dpaddr.h.

◆ DPNA_BAUD_RATE_9600

#define DPNA_BAUD_RATE_9600   9600

Definition at line 165 of file dpaddr.h.

◆ DPNA_DATATYPE_BINARY

#define DPNA_DATATYPE_BINARY   0x00000004

Definition at line 40 of file dpaddr.h.

◆ DPNA_DATATYPE_DWORD

#define DPNA_DATATYPE_DWORD   0x00000002

Definition at line 38 of file dpaddr.h.

◆ DPNA_DATATYPE_GUID

#define DPNA_DATATYPE_GUID   0x00000003

Definition at line 39 of file dpaddr.h.

◆ DPNA_DATATYPE_STRING

#define DPNA_DATATYPE_STRING   0x00000001

Definition at line 37 of file dpaddr.h.

◆ DPNA_DATATYPE_STRING_ANSI

#define DPNA_DATATYPE_STRING_ANSI   0x00000005

Definition at line 41 of file dpaddr.h.

◆ DPNA_DPNSVR_PORT

#define DPNA_DPNSVR_PORT   6073

Definition at line 42 of file dpaddr.h.

◆ DPNA_ESCAPECHAR

#define DPNA_ESCAPECHAR   L'%'

Definition at line 51 of file dpaddr.h.

◆ DPNA_ESCAPECHAR_A

#define DPNA_ESCAPECHAR_A   '%'

Definition at line 52 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_DTR_A

#define DPNA_FLOW_CONTROL_DTR_A   "DTR"

Definition at line 82 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_NONE_A

#define DPNA_FLOW_CONTROL_NONE_A   "NONE"

Definition at line 79 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_RTS_A

#define DPNA_FLOW_CONTROL_RTS_A   "RTS"

Definition at line 81 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_RTSDTR_A

#define DPNA_FLOW_CONTROL_RTSDTR_A   "RTSDTR"

Definition at line 83 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_XONXOFF_A

#define DPNA_FLOW_CONTROL_XONXOFF_A   "XONXOFF"

Definition at line 80 of file dpaddr.h.

◆ DPNA_HEADER_A

#define DPNA_HEADER_A   "x-directplay:/"

Definition at line 54 of file dpaddr.h.

◆ DPNA_INDEX_INVALID

#define DPNA_INDEX_INVALID   0xFFFFFFFF

Definition at line 43 of file dpaddr.h.

◆ DPNA_KEY_APPLICATION_INSTANCE_A

#define DPNA_KEY_APPLICATION_INSTANCE_A   "applicationinstance"

Definition at line 55 of file dpaddr.h.

◆ DPNA_KEY_BAUD_A

#define DPNA_KEY_BAUD_A   "baud"

Definition at line 56 of file dpaddr.h.

◆ DPNA_KEY_DEVICE_A

#define DPNA_KEY_DEVICE_A   "device"

Definition at line 57 of file dpaddr.h.

◆ DPNA_KEY_FLOWCONTROL_A

#define DPNA_KEY_FLOWCONTROL_A   "flowcontrol"

Definition at line 58 of file dpaddr.h.

◆ DPNA_KEY_HOSTNAME_A

#define DPNA_KEY_HOSTNAME_A   "hostname"

Definition at line 59 of file dpaddr.h.

◆ DPNA_KEY_NAMEINFO_A

#define DPNA_KEY_NAMEINFO_A   "nameinfo"

Definition at line 60 of file dpaddr.h.

◆ DPNA_KEY_PARITY_A

#define DPNA_KEY_PARITY_A   "parity"

Definition at line 61 of file dpaddr.h.

◆ DPNA_KEY_PHONENUMBER_A

#define DPNA_KEY_PHONENUMBER_A   "phonenumber"

Definition at line 62 of file dpaddr.h.

◆ DPNA_KEY_PORT_A

#define DPNA_KEY_PORT_A   "port"

Definition at line 63 of file dpaddr.h.

◆ DPNA_KEY_PROCESSOR_A

#define DPNA_KEY_PROCESSOR_A   "processor"

Definition at line 64 of file dpaddr.h.

◆ DPNA_KEY_PROGRAM_A

#define DPNA_KEY_PROGRAM_A   "program"

Definition at line 65 of file dpaddr.h.

◆ DPNA_KEY_PROVIDER_A

#define DPNA_KEY_PROVIDER_A   "provider"

Definition at line 66 of file dpaddr.h.

◆ DPNA_KEY_SCOPE_A

#define DPNA_KEY_SCOPE_A   "scope"

Definition at line 67 of file dpaddr.h.

◆ DPNA_KEY_STOPBITS_A

#define DPNA_KEY_STOPBITS_A   "stopbits"

Definition at line 68 of file dpaddr.h.

◆ DPNA_KEY_TRAVERSALMODE_A

#define DPNA_KEY_TRAVERSALMODE_A   "traversalmode"

Definition at line 69 of file dpaddr.h.

◆ DPNA_PARITY_EVEN_A

#define DPNA_PARITY_EVEN_A   "EVEN"

Definition at line 75 of file dpaddr.h.

◆ DPNA_PARITY_MARK_A

#define DPNA_PARITY_MARK_A   "MARK"

Definition at line 77 of file dpaddr.h.

◆ DPNA_PARITY_NONE_A

#define DPNA_PARITY_NONE_A   "NONE"

Definition at line 74 of file dpaddr.h.

◆ DPNA_PARITY_ODD_A

#define DPNA_PARITY_ODD_A   "ODD"

Definition at line 76 of file dpaddr.h.

◆ DPNA_PARITY_SPACE_A

#define DPNA_PARITY_SPACE_A   "SPACE"

Definition at line 78 of file dpaddr.h.

◆ DPNA_SEPARATOR_COMPONENT

#define DPNA_SEPARATOR_COMPONENT   L';'

Definition at line 49 of file dpaddr.h.

◆ DPNA_SEPARATOR_COMPONENT_A

#define DPNA_SEPARATOR_COMPONENT_A   ';'

Definition at line 50 of file dpaddr.h.

◆ DPNA_SEPARATOR_KEYVALUE

#define DPNA_SEPARATOR_KEYVALUE   L'='

Definition at line 45 of file dpaddr.h.

◆ DPNA_SEPARATOR_KEYVALUE_A

#define DPNA_SEPARATOR_KEYVALUE_A   '='

Definition at line 46 of file dpaddr.h.

◆ DPNA_SEPARATOR_USERDATA

#define DPNA_SEPARATOR_USERDATA   L'#'

Definition at line 47 of file dpaddr.h.

◆ DPNA_SEPARATOR_USERDATA_A

#define DPNA_SEPARATOR_USERDATA_A   '#'

Definition at line 48 of file dpaddr.h.

◆ DPNA_STOP_BITS_ONE_A

#define DPNA_STOP_BITS_ONE_A   "1"

Definition at line 71 of file dpaddr.h.

◆ DPNA_STOP_BITS_ONE_FIVE_A

#define DPNA_STOP_BITS_ONE_FIVE_A   "1.5"

Definition at line 72 of file dpaddr.h.

◆ DPNA_STOP_BITS_TWO_A

#define DPNA_STOP_BITS_TWO_A   "2"

Definition at line 73 of file dpaddr.h.

◆ DPNA_VALUE_IPXPROVIDER_A

#define DPNA_VALUE_IPXPROVIDER_A   "IPX"

Definition at line 85 of file dpaddr.h.

◆ DPNA_VALUE_MODEMPROVIDER_A

#define DPNA_VALUE_MODEMPROVIDER_A   "MODEM"

Definition at line 86 of file dpaddr.h.

◆ DPNA_VALUE_SERIALPROVIDER_A

#define DPNA_VALUE_SERIALPROVIDER_A   "SERIAL"

Definition at line 87 of file dpaddr.h.

◆ DPNA_VALUE_TCPIPPROVIDER_A

#define DPNA_VALUE_TCPIPPROVIDER_A   "IP"

Definition at line 84 of file dpaddr.h.

◆ IDirectPlay8Address_AddComponent

#define IDirectPlay8Address_AddComponent (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->AddComponent(p,a,b,c,d)

Definition at line 239 of file dpaddr.h.

◆ IDirectPlay8Address_AddRef

#define IDirectPlay8Address_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 221 of file dpaddr.h.

◆ IDirectPlay8Address_BuildFromDirectPlay4Address

#define IDirectPlay8Address_BuildFromDirectPlay4Address (   p,
  a,
  b 
)    (p)->lpVtbl->BuildFromDirectPlay4Address(p,a,b)

Definition at line 242 of file dpaddr.h.

◆ IDirectPlay8Address_BuildFromURLA

#define IDirectPlay8Address_BuildFromURLA (   p,
  a 
)    (p)->lpVtbl->BuildFromURLA(p,a)

Definition at line 225 of file dpaddr.h.

◆ IDirectPlay8Address_BuildFromURLW

#define IDirectPlay8Address_BuildFromURLW (   p,
  a 
)    (p)->lpVtbl->BuildFromURLW(p,a)

Definition at line 224 of file dpaddr.h.

◆ IDirectPlay8Address_Clear

#define IDirectPlay8Address_Clear (   p)    (p)->lpVtbl->Clear(p)

Definition at line 229 of file dpaddr.h.

◆ IDirectPlay8Address_Duplicate

#define IDirectPlay8Address_Duplicate (   p,
  a 
)    (p)->lpVtbl->Duplicate(p,a)

Definition at line 226 of file dpaddr.h.

◆ IDirectPlay8Address_GetComponentByIndex

#define IDirectPlay8Address_GetComponentByIndex (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->GetComponentByIndex(p,a,b,c,d,e,f)

Definition at line 238 of file dpaddr.h.

◆ IDirectPlay8Address_GetComponentByName

#define IDirectPlay8Address_GetComponentByName (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->GetComponentByName(p,a,b,c,d)

Definition at line 237 of file dpaddr.h.

◆ IDirectPlay8Address_GetDevice

#define IDirectPlay8Address_GetDevice (   p,
  a 
)    (p)->lpVtbl->GetDevice(p,a)

Definition at line 241 of file dpaddr.h.

◆ IDirectPlay8Address_GetNumComponents

#define IDirectPlay8Address_GetNumComponents (   p,
  a 
)    (p)->lpVtbl->GetNumComponents(p,a)

Definition at line 236 of file dpaddr.h.

◆ IDirectPlay8Address_GetSP

#define IDirectPlay8Address_GetSP (   p,
  a 
)    (p)->lpVtbl->GetSP(p,a)

Definition at line 232 of file dpaddr.h.

◆ IDirectPlay8Address_GetURLA

#define IDirectPlay8Address_GetURLA (   p,
  a,
  b 
)    (p)->lpVtbl->GetURLA(p,a,b)

Definition at line 231 of file dpaddr.h.

◆ IDirectPlay8Address_GetURLW

#define IDirectPlay8Address_GetURLW (   p,
  a,
  b 
)    (p)->lpVtbl->GetURLW(p,a,b)

Definition at line 230 of file dpaddr.h.

◆ IDirectPlay8Address_GetUserData

#define IDirectPlay8Address_GetUserData (   p,
  a,
  b 
)    (p)->lpVtbl->GetUserData(p,a,b)

Definition at line 233 of file dpaddr.h.

◆ IDirectPlay8Address_IsEqual

#define IDirectPlay8Address_IsEqual (   p,
  a 
)    (p)->lpVtbl->IsEqual(p,a)

Definition at line 228 of file dpaddr.h.

◆ IDirectPlay8Address_QueryInterface

#define IDirectPlay8Address_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 220 of file dpaddr.h.

◆ IDirectPlay8Address_Release

#define IDirectPlay8Address_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 222 of file dpaddr.h.

◆ IDirectPlay8Address_SetDevice

#define IDirectPlay8Address_SetDevice (   p,
  a 
)    (p)->lpVtbl->SetDevice(p,a)

Definition at line 240 of file dpaddr.h.

◆ IDirectPlay8Address_SetEqual

#define IDirectPlay8Address_SetEqual (   p,
  a 
)    (p)->lpVtbl->SetEqual(p,a)

Definition at line 227 of file dpaddr.h.

◆ IDirectPlay8Address_SetSP

#define IDirectPlay8Address_SetSP (   p,
  a 
)    (p)->lpVtbl->SetSP(p,a)

Definition at line 234 of file dpaddr.h.

◆ IDirectPlay8Address_SetUserData

#define IDirectPlay8Address_SetUserData (   p,
  a,
  b 
)    (p)->lpVtbl->SetUserData(p,a,b)

Definition at line 235 of file dpaddr.h.

◆ IDirectPlay8AddressIP_AddRef

#define IDirectPlay8AddressIP_AddRef (   p)    (p)->lpVtbl->AddRef()

Definition at line 293 of file dpaddr.h.

◆ IDirectPlay8AddressIP_BuildAddress

#define IDirectPlay8AddressIP_BuildAddress (   p,
  a,
  b 
)    (p)->lpVtbl->BuildAddress(a,b)

Definition at line 297 of file dpaddr.h.

◆ IDirectPlay8AddressIP_BuildFromSockAddr

#define IDirectPlay8AddressIP_BuildFromSockAddr (   p,
  a 
)    (p)->lpVtbl->BuildFromSockAddr(a)

Definition at line 296 of file dpaddr.h.

◆ IDirectPlay8AddressIP_BuildLocalAddress

#define IDirectPlay8AddressIP_BuildLocalAddress (   p,
  a,
  b 
)    (p)->lpVtbl->BuildLocalAddress(a,b)

Definition at line 298 of file dpaddr.h.

◆ IDirectPlay8AddressIP_GetAddress

#define IDirectPlay8AddressIP_GetAddress (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetAddress(a,b,c)

Definition at line 301 of file dpaddr.h.

◆ IDirectPlay8AddressIP_GetLocalAddress

#define IDirectPlay8AddressIP_GetLocalAddress (   p,
  a,
  b 
)    (p)->lpVtbl->GetLocalAddress(a,b)

Definition at line 300 of file dpaddr.h.

◆ IDirectPlay8AddressIP_GetSockAddress

#define IDirectPlay8AddressIP_GetSockAddress (   p,
  a,
  b 
)    (p)->lpVtbl->GetSockAddress(a,b)

Definition at line 299 of file dpaddr.h.

◆ IDirectPlay8AddressIP_QueryInterface

#define IDirectPlay8AddressIP_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(a,b)

Definition at line 292 of file dpaddr.h.

◆ IDirectPlay8AddressIP_Release

#define IDirectPlay8AddressIP_Release (   p)    (p)->lpVtbl->Release()

Definition at line 294 of file dpaddr.h.

◆ INTERFACE [1/2]

#define INTERFACE   IDirectPlay8Address

Definition at line 273 of file dpaddr.h.

◆ INTERFACE [2/2]

#define INTERFACE   IDirectPlay8AddressIP

Definition at line 273 of file dpaddr.h.

Typedef Documentation

◆ DPNAREFIID

typedef REFIID DPNAREFIID

Definition at line 29 of file dpaddr.h.

◆ LPDIRECTPLAY8ADDRESS

typedef struct IDirectPlay8Address * LPDIRECTPLAY8ADDRESS

Definition at line 179 of file dpaddr.h.

◆ LPDIRECTPLAY8ADDRESSIP

typedef struct IDirectPlay8AddressIP * LPDIRECTPLAY8ADDRESSIP

Definition at line 181 of file dpaddr.h.

◆ PDIRECTPLAY8ADDRESS

typedef struct IDirectPlay8Address* PDIRECTPLAY8ADDRESS

Definition at line 179 of file dpaddr.h.

◆ PDIRECTPLAY8ADDRESSIP

typedef struct IDirectPlay8AddressIP* PDIRECTPLAY8ADDRESSIP

Definition at line 181 of file dpaddr.h.

◆ SOCKADDR

Definition at line 31 of file dpaddr.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/2]

DECLARE_INTERFACE_ ( IDirectPlay8Address  ,
IUnknown   
)

Definition at line 188 of file dpaddr.h.

189{
190 /*** IUnknown methods ***/
194 /*** IDirectPlay8Address methods ***/
195 STDMETHOD(BuildFromURLW)(THIS_ WCHAR* pwszSourceURL) PURE;
196 STDMETHOD(BuildFromURLA)(THIS_ CHAR* pszSourceURL) PURE;
197 STDMETHOD(Duplicate)(THIS_ PDIRECTPLAY8ADDRESS* ppdpaNewAddress) PURE;
198 STDMETHOD(SetEqual)(THIS_ PDIRECTPLAY8ADDRESS pdpaAddress) PURE;
201 STDMETHOD(GetURLW)(THIS_ WCHAR* pwszURL, PDWORD pdwNumChars) PURE;
202 STDMETHOD(GetURLA)(THIS_ CHAR* pszURL, PDWORD pdwNumChars) PURE;
203 STDMETHOD(GetSP)(THIS_ GUID* pguidSP) PURE;
204 STDMETHOD(GetUserData)(THIS_ LPVOID pvUserData, PDWORD pdwBufferSize) PURE;
205 STDMETHOD(SetSP)(THIS_ const GUID* pguidSP) PURE;
206 STDMETHOD(SetUserData)(THIS_ const void* pvUserData, DWORD dwDataSize) PURE;
207 STDMETHOD(GetNumComponents)(THIS_ PDWORD pdwNumComponents) PURE;
208 STDMETHOD(GetComponentByName)(THIS_ const WCHAR* pwszName, LPVOID pvBuffer, PDWORD pdwBufferSize, PDWORD pdwDataType) PURE;
209 STDMETHOD(GetComponentByIndex)(THIS_ DWORD dwComponentID, WCHAR* pwszName, PDWORD pdwNameLen, void* pvBuffer, PDWORD pdwBufferSize, PDWORD pdwDataType) PURE;
210 STDMETHOD(AddComponent)(THIS_ const WCHAR* pwszName, const void* lpvData, DWORD dwDataSize, DWORD dwDataType) PURE;
211 STDMETHOD(GetDevice)(THIS_ GUID* pDevGuid) PURE;
212 STDMETHOD(SetDevice)(THIS_ const GUID* devGuid) PURE;
213 STDMETHOD(BuildFromDirectPlay4Address)(THIS_ LPVOID pvAddress, DWORD dwDataSize) PURE;
214};
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
_Check_return_ _In_ PQUERY_INTERFACE QueryInterface
Definition: dispmprt.h:1318
struct IDirectPlay8Address * PDIRECTPLAY8ADDRESS
Definition: dpaddr.h:179
@ IsEqual
Definition: fatprocs.h:1887
unsigned long DWORD
Definition: ntddk_ex.h:95
return pList GetDevice()
REFIID riid
Definition: atlbase.h:39
static void Clear(void)
Definition: treeview.c:388
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:83
short WCHAR
Definition: pedump.c:58
DWORD * PDWORD
Definition: pedump.c:68
char CHAR
Definition: pedump.c:57
#define REFIID
Definition: guiddef.h:118
uint32_t ULONG
Definition: typedefs.h:59

◆ DECLARE_INTERFACE_() [2/2]

DECLARE_INTERFACE_ ( IDirectPlay8AddressIP  ,
IUnknown   
)

Definition at line 274 of file dpaddr.h.

275{
276 /*** IUnknown methods ***/
280 /*** IDirectPlay8AddressIP methods ***/
281 STDMETHOD(BuildFromSockAddr)(THIS_ const SOCKADDR* pSockAddr) PURE;
282 STDMETHOD(BuildAddress)(THIS_ const WCHAR* wszAddress, USHORT usPort) PURE;
283 STDMETHOD(BuildLocalAddress)(THIS_ const GUID* pguidAdapter, USHORT usPort) PURE;
284 STDMETHOD(GetSockAddress)(THIS_ SOCKADDR* pSockAddr, PDWORD) PURE;
285 STDMETHOD(GetLocalAddress)(THIS_ GUID* pguidAdapter, USHORT* pusPort) PURE;
286 STDMETHOD(GetAddress)(THIS_ WCHAR* wszAddress, PDWORD pdwAddressLength, USHORT* psPort) PURE;
287};
BOOL GetAddress(const WCHAR *, INTERNET_PORT, SOCKADDR *, int *, char *) DECLSPEC_HIDDEN
Definition: utility.c:133
unsigned short USHORT
Definition: pedump.c:61

◆ DEFINE_GUID() [1/3]

DEFINE_GUID ( CLSID_DirectPlay8Address  ,
0x934a9523  ,
0xa3ca  ,
0x4bc5  ,
0xad  ,
0xa0  ,
0xd6  ,
0xd9  ,
0x5d  ,
0x97  ,
0x94  ,
0x21   
)

◆ DEFINE_GUID() [2/3]

DEFINE_GUID ( IID_IDirectPlay8Address  ,
0x83783300  ,
0x4063  ,
0x4c8a  ,
0x9d  ,
0xb3  ,
0x82  ,
0x83  ,
0xa  ,
0x7f  ,
0xeb  ,
0x31   
)

◆ DEFINE_GUID() [3/3]

DEFINE_GUID ( IID_IDirectPlay8AddressIP  ,
0xe5a0e990  ,
0x2bad  ,
0x430b  ,
0x87  ,
0xda  ,
0xa1  ,
0x42  ,
0xcf  ,
0x75  ,
0xde  ,
0x58   
)

◆ DirectPlay8AddressCreate()

HRESULT WINAPI DirectPlay8AddressCreate ( const GUID *  pcIID,
LPVOID *  ppvInterface,
IUnknown *  pUnknown 
)

Variable Documentation

◆ DPNA_FLOW_CONTROL_DTR

const WCHAR DPNA_FLOW_CONTROL_DTR[] = { 'D','T','R',0 }
static

Definition at line 155 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_NONE

const WCHAR DPNA_FLOW_CONTROL_NONE[] = { 'N','O','N','E',0 }
static

Definition at line 152 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_RTS

const WCHAR DPNA_FLOW_CONTROL_RTS[] = { 'R','T','S',0 }
static

Definition at line 154 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_RTSDTR

const WCHAR DPNA_FLOW_CONTROL_RTSDTR[] = { 'R','T','S','D','T','R',0 }
static

Definition at line 156 of file dpaddr.h.

◆ DPNA_FLOW_CONTROL_XONXOFF

const WCHAR DPNA_FLOW_CONTROL_XONXOFF[] = { 'X','O','N','X','O','F','F',0 }
static

Definition at line 153 of file dpaddr.h.

◆ DPNA_HEADER

const WCHAR DPNA_HEADER[] = { 'x','-','d','i','r','e','c','t','p','l','a','y',':','/',0 }
static

Definition at line 128 of file dpaddr.h.

Referenced by IDirectPlay8AddressImpl_GetURLW().

◆ DPNA_KEY_APPLICATION_INSTANCE

const WCHAR DPNA_KEY_APPLICATION_INSTANCE[] = { 'a','p','p','l','i','c','a','t','i','o','n','i','n','s','t','a','n','c','e',0 }
static

Definition at line 129 of file dpaddr.h.

◆ DPNA_KEY_BAUD

const WCHAR DPNA_KEY_BAUD[] = { 'b','a','u','d',0 }
static

Definition at line 130 of file dpaddr.h.

◆ DPNA_KEY_DEVICE

const WCHAR DPNA_KEY_DEVICE[] = { 'd','e','v','i','c','e',0 }
static

Definition at line 131 of file dpaddr.h.

◆ DPNA_KEY_FLOWCONTROL

const WCHAR DPNA_KEY_FLOWCONTROL[] = { 'f','l','o','w','c','o','n','t','r','o','l',0 }
static

Definition at line 132 of file dpaddr.h.

◆ DPNA_KEY_HOSTNAME

const WCHAR DPNA_KEY_HOSTNAME[] = { 'h','o','s','t','n','a','m','e',0 }
static

Definition at line 133 of file dpaddr.h.

◆ DPNA_KEY_NAMEINFO

const WCHAR DPNA_KEY_NAMEINFO[] = { 'n','a','m','e','i','n','f','o',0 }
static

Definition at line 134 of file dpaddr.h.

◆ DPNA_KEY_PARITY

const WCHAR DPNA_KEY_PARITY[] = { 'p','a','r','i','t','y',0 }
static

Definition at line 135 of file dpaddr.h.

◆ DPNA_KEY_PHONENUMBER

const WCHAR DPNA_KEY_PHONENUMBER[] = { 'p','h','o','n','e','n','u','m','b','e','r',0 }
static

Definition at line 136 of file dpaddr.h.

◆ DPNA_KEY_PORT

const WCHAR DPNA_KEY_PORT[] = { 'p','o','r','t',0 }
static

Definition at line 137 of file dpaddr.h.

◆ DPNA_KEY_PROCESSOR

const WCHAR DPNA_KEY_PROCESSOR[] = { 'p','r','o','c','e','s','s','o','r',0 }
static

Definition at line 138 of file dpaddr.h.

◆ DPNA_KEY_PROGRAM

const WCHAR DPNA_KEY_PROGRAM[] = { 'p','r','o','g','r','a','m',0 }
static

Definition at line 139 of file dpaddr.h.

◆ DPNA_KEY_PROVIDER

const WCHAR DPNA_KEY_PROVIDER[] = { 'p','r','o','v','i','d','e','r',0 }
static

Definition at line 140 of file dpaddr.h.

Referenced by IDirectPlay8AddressImpl_SetSP().

◆ DPNA_KEY_SCOPE

const WCHAR DPNA_KEY_SCOPE[] = { 's','c','o','p','e',0 }
static

Definition at line 141 of file dpaddr.h.

◆ DPNA_KEY_STOPBITS

const WCHAR DPNA_KEY_STOPBITS[] = { 's','t','o','p','b','i','t','s',0 }
static

Definition at line 142 of file dpaddr.h.

◆ DPNA_KEY_TRAVERSALMODE

const WCHAR DPNA_KEY_TRAVERSALMODE[] = { 't','r','a','v','e','r','s','a','l','m','o','d','e',0 }
static

Definition at line 143 of file dpaddr.h.

◆ DPNA_PARITY_EVEN

const WCHAR DPNA_PARITY_EVEN[] = { 'E','V','E','N',0 }
static

Definition at line 148 of file dpaddr.h.

◆ DPNA_PARITY_MARK

const WCHAR DPNA_PARITY_MARK[] = { 'M','A','R','K',0 }
static

Definition at line 150 of file dpaddr.h.

◆ DPNA_PARITY_NONE

const WCHAR DPNA_PARITY_NONE[] = { 'N','O','N','E',0 }
static

Definition at line 147 of file dpaddr.h.

◆ DPNA_PARITY_ODD

const WCHAR DPNA_PARITY_ODD[] = { 'O','D','D',0 }
static

Definition at line 149 of file dpaddr.h.

◆ DPNA_PARITY_SPACE

const WCHAR DPNA_PARITY_SPACE[] = { 'S','P','A','C','E',0 }
static

Definition at line 151 of file dpaddr.h.

◆ DPNA_STOP_BITS_ONE

const WCHAR DPNA_STOP_BITS_ONE[] = { '1',0 }
static

Definition at line 144 of file dpaddr.h.

◆ DPNA_STOP_BITS_ONE_FIVE

const WCHAR DPNA_STOP_BITS_ONE_FIVE[] = { '1','.','5',0 }
static

Definition at line 145 of file dpaddr.h.

◆ DPNA_STOP_BITS_TWO

const WCHAR DPNA_STOP_BITS_TWO[] = { '2',0 }
static

Definition at line 146 of file dpaddr.h.

◆ DPNA_VALUE_IPXPROVIDER

const WCHAR DPNA_VALUE_IPXPROVIDER[] = { 'I','P','X',0 }
static

Definition at line 158 of file dpaddr.h.

◆ DPNA_VALUE_MODEMPROVIDER

const WCHAR DPNA_VALUE_MODEMPROVIDER[] = { 'M','O','D','E','M',0 }
static

Definition at line 159 of file dpaddr.h.

◆ DPNA_VALUE_SERIALPROVIDER

const WCHAR DPNA_VALUE_SERIALPROVIDER[] = { 'S','E','R','I','A','L',0 }
static

Definition at line 160 of file dpaddr.h.

◆ DPNA_VALUE_TCPIPPROVIDER

const WCHAR DPNA_VALUE_TCPIPPROVIDER[] = { 'I','P',0 }
static

Definition at line 157 of file dpaddr.h.