PrintMessageFromModule function (netsh.h)
The PrintMessageFromModule function displays localized output to the NetShell console.
Syntax
DWORD PrintMessageFromModule(
[in] HANDLE hModule,
[in] DWORD dwMsgId,
...
);
Parameters
[in] hModule
A handle to the module from which the string should be loaded.
[in] dwMsgId
The identifier of the message to print.
...
The arguments to fill into the message.
Return value
Returns the number of characters printed. Returns zero upon failure.
Remarks
Use this function when the format string, identified by the dwMsgId parameter, must be localized.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | netsh.h |
Library | Netsh.lib |
DLL | Netsh.exe |