Go to the documentation of this file.
55 _In_opt_ LPCTSTR szDeviceDescription,
57 _Inout_ LPBOOL pbRebootRequired,
58 _Out_ LPGUID pguidAdapter);
82 _In_ LPCGUID pguidAdapter,
83 _Inout_ LPBOOL pbRebootRequired);
109 _In_ LPCGUID pguidAdapter,
111 _Inout_ LPBOOL pbRebootRequired);
128 _In_ LPCGUID pguidAdapter,
LPTSTR szzHardwareIDs
Adapter GUID.
void tap_free_adapter_list(_In_ struct tap_adapter_node *pAdapterList)
Frees a list of network adapters.
struct tap_adapter_node * pNext
Adapter name.
DWORD tap_list_adapters(_In_opt_ HWND hwndParent, _In_opt_ LPCTSTR szzHwIDs, _Out_ struct tap_adapter_node **ppAdapterList)
Creates a list of existing network adapters.
LPTSTR szName
Device hardware ID(s)
DWORD tap_create_adapter(_In_opt_ HWND hwndParent, _In_opt_ LPCTSTR szDeviceDescription, _In_ LPCTSTR szHwId, _Inout_ LPBOOL pbRebootRequired, _Out_ LPGUID pguidAdapter)
Creates a TUN/TAP adapter.
DWORD tap_delete_adapter(_In_opt_ HWND hwndParent, _In_ LPCGUID pguidAdapter, _Inout_ LPBOOL pbRebootRequired)
Deletes an adapter.
Network adapter list node.
DWORD tap_set_adapter_name(_In_ LPCGUID pguidAdapter, _In_ LPCTSTR szName, _In_ BOOL bSilent)
Sets adapter name.
DWORD tap_enable_adapter(_In_opt_ HWND hwndParent, _In_ LPCGUID pguidAdapter, _In_ BOOL bEnable, _Inout_ LPBOOL pbRebootRequired)
Enables or disables an adapter.