WnvOpen function (wnvapi.h)

Provides a handle to the Windows Network Virtualization (WNV) driver object to be used to request and receive WNV notifications.

Syntax

HANDLE WnvOpen();

Return value

Type: HANDLE

If the function succeeds, it returns the handle to the WNV driver object. If the function fails, it returns NULL.

Remarks

This handle is used for multiple invocations of the WnvRequestNotification function. When you have finished using the handle, close it by calling the CloseHandle function.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header wnvapi.h
DLL Wnvapi.dll