WifiDirectDeviceInitialize function (wificx.h)
The WifiDirectDeviceInitialize function initializes a newly created WIFIDIRECTDEVICE object.
Syntax
NTSTATUS WifiDirectDeviceInitialize(
WIFIDIRECTDEVICE WifiDirectDevice
);
Parameters
WifiDirectDevice
[In] A handle to a WIFIDIRECTDEVICE object obtained in a previous call to WifiDirectDeviceCreate.
Return value
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.
Remarks
The client calls WifiDirectDeviceInitialize from within its EvtWifiDeviceCreateWifiDirectDevice routine.
For a code example of creating a WIFIDIRECTDEVICE object, see Wi-Fi Direct (P2P) Support.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Header | wificx.h |
IRQL | PASSIVE_LEVEL |