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 |