RegisterHelper function (netsh.h)
The RegisterHelper function is called from within a helper's exposed InitHelperDll function, and registers the helper with the NetShell context.
Syntax
DWORD RegisterHelper(
[in] const GUID *pguidParentContext,
[in] const NS_HELPER_ATTRIBUTES *pfnRegisterSubContext
);
Parameters
[in] pguidParentContext
A pointer to GUID of another helper under which the helper should be installed. If null, the helper is installed as a top-level helper.
[in] pfnRegisterSubContext
Attributes of the helper.
Return value
None
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for