ConnectedEntry Event

Fired for every connected device when the ListConnections method is called.

Syntax

ANSI (Cross Platform)
virtual int FireConnectedEntry(NetDialConnectedEntryEventParams *e);
typedef struct {
int Handle;
const char *Entry;
const char *DeviceName;
const char *DeviceType;
const char *StatusDescription; int reserved; } NetDialConnectedEntryEventParams; Unicode (Windows) virtual INT FireConnectedEntry(NetDialConnectedEntryEventParams *e);
typedef struct {
INT Handle;
LPCWSTR Entry;
LPCWSTR DeviceName;
LPCWSTR DeviceType;
LPCWSTR StatusDescription; INT reserved; } NetDialConnectedEntryEventParams;
- (void)onConnectedEntry:(int)handle :(NSString*)entry :(NSString*)deviceName :(NSString*)deviceType :(NSString*)statusDescription;
#define EID_NETDIAL_CONNECTEDENTRY 1

virtual INT IPWORKS_CALL FireConnectedEntry(INT &iHandle, LPSTR &lpszEntry, LPSTR &lpszDeviceName, LPSTR &lpszDeviceType, LPSTR &lpszStatusDescription);

Remarks

The Handle parameter can be used to disconnect the entry. You should assign Handle to the Handle property and then call the Disconnect method.

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