reference:plugins:plugin_sdk:batch_mode_functions:getfunctionwindow

GetFunctionWindow(
     LPVOID:lpFuncData
)
→ HWND

Arguments

lpFuncData

[in] The value of the lpFuncData member of the VFSBATCHDATA structure

Return value

Returns the handle of the parent window, or NULL if there is no valid parent.

Description

The GetFunctionWindow function lets you retrieve the parent window handle for a batch-mode function. You can use this as the parent window to display your own dialogs if required.

If this function returns NULL you should not display any dialogs if possible.