Skip to content

Commit

Permalink
Correct some README mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoBornholdt authored Dec 29, 2021
1 parent c231557 commit 5faa707
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Creates a new Wintun adapter.
**Parameters**

- *Name*: The requested name of the adapter. Zero-terminated string of up to MAX\_ADAPTER\_NAME-1 characters.
- *Name*: Name of the adapter tunnel type. Zero-terminated string of up to MAX\_ADAPTER\_NAME-1 characters.
- *TunnelType*: Name of the adapter tunnel type. Zero-terminated string of up to MAX\_ADAPTER\_NAME-1 characters.
- *RequestedGUID*: The GUID of the created network adapter, which then influences NLA generation deterministically. If it is set to NULL, the GUID is chosen by the system at random, and hence a new NLA entry is created for each new adapter. It is called "requested" GUID because the API it uses is completely undocumented, and so there could be minor interesting complications with its usage.

**Returns**
Expand Down Expand Up @@ -201,9 +201,9 @@ Deletes the Wintun driver if there are no more adapters in use.

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.

#### WintunGetAdapterLuid()
#### WintunGetAdapterLUID()

`void WintunGetAdapterLuid (WINTUN_ADAPTER_HANDLE Adapter, NET_LUID * Luid)`
`void WintunGetAdapterLUID (WINTUN_ADAPTER_HANDLE Adapter, NET_LUID * Luid)`

Returns the LUID of the adapter.

Expand All @@ -214,7 +214,7 @@ Returns the LUID of the adapter.

#### WintunGetRunningDriverVersion()

`DWORD WintunGetRunningDriverVersion (void )`
`DWORD WintunGetRunningDriverVersion (void)`

Determines the version of the Wintun driver currently loaded.

Expand Down

0 comments on commit 5faa707

Please sign in to comment.