Logo Search packages:      
Sourcecode: wireshark version File versions

PAirpcapHandle AirpcapOpen ( PCHAR  DeviceName,
PCHAR  Ebuf 
)

Open an adapter.

Parameters:
DeviceName Name of the device to open. Use AirpcapGetDeviceList() to get the list of devices.
Ebuf String that will contain error information in case of failure. The size of the string must be AIRPCAP_ERRBUF_SIZE bytes.
Returns:
A PAirpcapHandle handle on success. NULL is returned on failure, in which case Ebuf is filled in with an appropriate error message.


Generated by  Doxygen 1.6.0   Back to index