Skip to content

Commit ae23b4d

Browse files
committed
[NETSH] Add the PreprocessCommand stub
1 parent e92be1e commit ae23b4d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

base/applications/network/netsh/netsh.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,23 @@ MatchToken(
217217
return (_wcsicmp(pwszUserToken, pwszCmdToken) == 0) ? TRUE : FALSE;
218218
}
219219

220+
DWORD
221+
WINAPI
222+
PreprocessCommand(
223+
_In_ HANDLE hModule,
224+
_Inout_ LPWSTR *ppwcArguments,
225+
_In_ DWORD dwCurrentIndex,
226+
_In_ DWORD dwArgCount,
227+
_In_ TAG_TYPE *pttTags,
228+
_In_ DWORD dwTagCount,
229+
_In_ DWORD dwMinArgs,
230+
_In_ DWORD dwMaxArgs,
231+
_Out_ DWORD *pdwTagType)
232+
{
233+
DPRINT1("PreprocessCommand()\n");
234+
return 0;
235+
}
236+
220237
DWORD
221238
CDECL
222239
PrintError(

base/applications/network/netsh/netsh.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@ stdcall MatchEnumTag(ptr wstr long ptr ptr)
22
@ stdcall MatchToken(wstr wstr)
3+
@ stdcall PreprocessCommand(ptr ptr long long ptr long long long ptr)
34
@ varargs PrintError(ptr long)
45
@ varargs PrintMessage(wstr)
56
@ varargs PrintMessageFromModule(ptr long)

0 commit comments

Comments
 (0)