reference:plugins:plugin_sdk:batch_mode_functions:getpluginelevator

GetPluginElevator(
     %%IDOpusFileOperation**%%:ppFileOp,
     LPVFSFUNCDATA:lpVFSData,
     HWND:hWnd,
     BOOL*:pbTreatAsCancel
)
→ HRESULT

Arguments

ppFileOp

lpVFSData

hWnd

[in] Window handle. The following special values are also defined:

GPE_HWND_NOELEVATE
GPE_HWND_ELEVATENOASK

pbTreatAsCancel

Description

The helper class sets *pbTreatAsCancel to FALSE before calling the function, and returns E_NOTIMPL if the function is not available.