Skip to content

Commit f9458d9

Browse files
committed
[NETSH] Add stubs for undocumented exported functions
1 parent 9ab8761 commit f9458d9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

base/applications/network/netsh/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ list(APPEND SOURCE
88
helper.c
99
interpreter.c
1010
netsh.c
11-
precomp.h)
11+
precomp.h
12+
${CMAKE_CURRENT_BINARY_DIR}/netsh_stubs.c)
1213

1314
add_executable(netsh ${SOURCE} netsh.rc ${CMAKE_CURRENT_BINARY_DIR}/netsh.def)
1415

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
1+
@ stub ConvertGuidToString
2+
@ stub ConvertStringToGuid
3+
@ stub DisplayMessageM
4+
@ stub DisplayMessageToConsole
5+
@ stub FreeQuotedString
6+
@ stub FreeString
7+
@ stub GenericMonitor
8+
@ stub GetEnumString
9+
@ stub GetHostMachineInfo
10+
@ stub InitializeConsole
11+
@ stub MakeQuotedString
12+
@ stub MakeString
13+
@ stub MatchCmdLine
114
@ stdcall MatchEnumTag(ptr wstr long ptr ptr)
15+
@ stub MatchTagsInCmdLine
216
@ stdcall MatchToken(wstr wstr)
317
@ stdcall PreprocessCommand(ptr ptr long long ptr long long long ptr)
418
@ varargs PrintError(ptr long)
19+
@ stub PrintErrorLog
520
@ varargs PrintMessage(wstr)
621
@ varargs PrintMessageFromModule(ptr long)
22+
@ stub RefreshConsole
723
@ stdcall RegisterContext(ptr)
824
@ stdcall RegisterHelper(ptr ptr)

0 commit comments

Comments
 (0)