Skip to content

ShowSettings

Show the plugin's settings dialog.

When is this called?

Called when user clicks the auto-generated Settings menu item.

C# Override

public override ShowSettingsResponse? ShowSettings(ShowSettingsRequest request)
{
    return null;
}

Request

Field Type Required Description
parentWindowHandle integer ✅ HWND for modal dialog ownership.
configPath string Path to the plugin's config file.

Response

Field Type Required Description
restartRequired boolean If true, the host must be restarted for changes to take effect.

JSON

The SDK serializes these JSON bodies for you.

{
  "parentWindowHandle": 0,
  "configPath": "C:\\ProgramData\\PARO\\Hydroman\\Plugins\\MyPlugin\\plugin.ini"
}
{
  "restartRequired": false
}

JSON Schemas: Request · Response