[NETSH] Add stubs for undocumented exported functions

This commit is contained in:
Eric Kohl
2025-09-20 11:10:52 +02:00
parent 9ab8761f2c
commit f9458d9e40
2 changed files with 18 additions and 1 deletions
@@ -8,7 +8,8 @@ list(APPEND SOURCE
helper.c
interpreter.c
netsh.c
precomp.h)
precomp.h
${CMAKE_CURRENT_BINARY_DIR}/netsh_stubs.c)
add_executable(netsh ${SOURCE} netsh.rc ${CMAKE_CURRENT_BINARY_DIR}/netsh.def)
@@ -1,8 +1,24 @@
@ stub ConvertGuidToString
@ stub ConvertStringToGuid
@ stub DisplayMessageM
@ stub DisplayMessageToConsole
@ stub FreeQuotedString
@ stub FreeString
@ stub GenericMonitor
@ stub GetEnumString
@ stub GetHostMachineInfo
@ stub InitializeConsole
@ stub MakeQuotedString
@ stub MakeString
@ stub MatchCmdLine
@ stdcall MatchEnumTag(ptr wstr long ptr ptr)
@ stub MatchTagsInCmdLine
@ stdcall MatchToken(wstr wstr)
@ stdcall PreprocessCommand(ptr ptr long long ptr long long long ptr)
@ varargs PrintError(ptr long)
@ stub PrintErrorLog
@ varargs PrintMessage(wstr)
@ varargs PrintMessageFromModule(ptr long)
@ stub RefreshConsole
@ stdcall RegisterContext(ptr)
@ stdcall RegisterHelper(ptr ptr)