Skip to content

Commit b9232fa

Browse files
Correct some README mistakes
Signed-off-by: Heiko Bornholdt <heiko@bornholdt.it>
1 parent c231557 commit b9232fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Creates a new Wintun adapter.
160160
**Parameters**
161161

162162
- *Name*: The requested name of the adapter. Zero-terminated string of up to MAX\_ADAPTER\_NAME-1 characters.
163-
- *Name*: Name of the adapter tunnel type. Zero-terminated string of up to MAX\_ADAPTER\_NAME-1 characters.
163+
- *TunnelType*: Name of the adapter tunnel type. Zero-terminated string of up to MAX\_ADAPTER\_NAME-1 characters.
164164
- *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.
165165

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

202202
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.
203203

204-
#### WintunGetAdapterLuid()
204+
#### WintunGetAdapterLUID()
205205

206-
`void WintunGetAdapterLuid (WINTUN_ADAPTER_HANDLE Adapter, NET_LUID * Luid)`
206+
`void WintunGetAdapterLUID (WINTUN_ADAPTER_HANDLE Adapter, NET_LUID * Luid)`
207207

208208
Returns the LUID of the adapter.
209209

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

215215
#### WintunGetRunningDriverVersion()
216216

217-
`DWORD WintunGetRunningDriverVersion (void )`
217+
`DWORD WintunGetRunningDriverVersion (void)`
218218

219219
Determines the version of the Wintun driver currently loaded.
220220

0 commit comments

Comments
 (0)