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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for