示例#1
0
VOID NTAPI ShowOptionsCallback(
    _In_opt_ PVOID Parameter,
    _In_opt_ PVOID Context
    )
{
    PPH_PLUGIN_OPTIONS_POINTERS optionsEntry = (PPH_PLUGIN_OPTIONS_POINTERS)Parameter;

    optionsEntry->CreateSection(
        L"OnlineChecks",
        PluginInstance->DllBase,
        MAKEINTRESOURCE(IDD_OPTIONS),
        OptionsDlgProc,
        NULL
        );
}
示例#2
0
VOID NTAPI ShowOptionsCallback(
    _In_opt_ PVOID Parameter,
    _In_opt_ PVOID Context
    )
{
    PPH_PLUGIN_OPTIONS_POINTERS optionsEntry = (PPH_PLUGIN_OPTIONS_POINTERS)Parameter;

    optionsEntry->CreateSection(
        L"Notifications - Processes",
        PluginInstance->DllBase,
        MAKEINTRESOURCE(IDD_PROCESSES),
        ProcessesDlgProc,
        NULL
        );
    optionsEntry->CreateSection(
        L"Notifications - Services",
        PluginInstance->DllBase,
        MAKEINTRESOURCE(IDD_SERVICES),
        ServicesDlgProc,
        NULL
        );
    optionsEntry->CreateSection(
        L"Notifications - Logging",
        PluginInstance->DllBase,
        MAKEINTRESOURCE(IDD_LOGGING),
        LoggingDlgProc,
        NULL
        );
    optionsEntry->CreateSection(
        L"Notifications - Growl",
        PluginInstance->DllBase,
        MAKEINTRESOURCE(IDD_GROWL),
        GrowlDlgProc,
        NULL
        );
}