Device Event

Fired for every dial device when the ListDevices method is called.

Syntax

ANSI (Cross Platform)
virtual int FireDevice(NetDialDeviceEventParams *e);
typedef struct {
const char *DeviceName;
const char *DeviceType; int reserved; } NetDialDeviceEventParams; Unicode (Windows) virtual INT FireDevice(NetDialDeviceEventParams *e);
typedef struct {
LPCWSTR DeviceName;
LPCWSTR DeviceType; INT reserved; } NetDialDeviceEventParams;
- (void)onDevice:(NSString*)deviceName :(NSString*)deviceType;
#define EID_NETDIAL_DEVICE 2

virtual INT IPWORKS_CALL FireDevice(LPSTR &lpszDeviceName, LPSTR &lpszDeviceType);

Remarks

DeviceName provides the name of the device, and DeviceType provides the corresponding device type (e.g. 'modem').

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]