WifiDirectDeviceGetPortId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wificx.h

ULONG WifiDirectDeviceGetPortId(
  WIFIDIRECTDEVICE WifiDirectDevice
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wificx-wifidirectdevicegetportid)

Description

Gets the Wi-Fi Direct port ID.

Parameters

WifiDirectDevice

[_In_] A handle to a WIFIDIRECTDEVICE object obtained in a previous call to WifiDirectDeviceCreate.

Return value

Returns the Wi-Fi Direct port ID.

Remarks

The client calls WifiDirectDeviceGetPortId from within its EvtWifiDeviceCreateWifiDirectDevice routine.

For a code example of creating a WIFIDIRECTDEVICE object, see Wi-Fi Direct (P2P) Support.

See also

WifiDirectDeviceCreate

EvtWifiDeviceCreateWifiDirectDevice

Wi-Fi Direct (P2P) Support