Echelon OpenLDV Manual de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 194
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
34 Using the OpenLDV API
Syntax
LDVCode ldv_xlate_device_name(
LPCSTR device_name,
LPSTR driver_name,
int* driver_name_len
)
Table 19. ldv_xlate_device_name() Parameters
Parameter Direction Description
device_name Input The name of the network interface.
driver_name Output A pointer to a buffer to receive the physical name.
driver_name_len Input
Output
A pointer to the length of the buffer that will receive the
physical name.
On return, set to the length of the returned name.
Remarks
This function returns LDV_OK if the physical name for the network interface is
successfully retrieved.
ldvx_open()
Call this function to establish communications between your application and a
network interface. This function also registers a Windows HWND object for
receiving session state change notifications and returns a unique handle that you
can provide to the other OpenLDV functions to identify this instance of the
network interface.
Syntax
LDVCode ldvx_open(
LPCSTR id,
LdvHandle* handle,
HWND hWnd,
LONG tag
)
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 193 194

Comentarios a estos manuales

Sin comentarios