IFsrmAccessDeniedRemediationClient::Show method (fsrm.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAdr and MSFT_FSRMADRSettings classes.]
Displays the Access Denied Remediation (ADR) client dialog.
This method was introduced for applications that are already using the FSRM interfaces. Where possible it is recommended to use the MSFT_FSRMAdr and MSFT_FSRMADRSettings WMI classes instead.
Syntax
HRESULT Show(
[in] ULONG_PTR parentWnd,
[in] BSTR accessPath,
[in] AdrClientErrorType errorType,
[in] long flags,
[in] BSTR windowTitle,
[in] BSTR windowMessage,
[out, retval] long *result
);
Parameters
[in] parentWnd
Handle to the window that will be the parent of the dialog that will be displayed.
[in] accessPath
Path of the file being accessed.
[in] errorType
The client error type as enumerated by the AdrClientErrorType enumeration.
[in] flags
Reserved. Set to 0.
[in] windowTitle
Optional text to display as the title of the dialog window that is opened.
[in] windowMessage
Optional text to display above the instructions in the dialog window that is opened.
[out, retval] result
Address of a value that will receive a HRESULT containing the result of the operation.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h) |
DLL | SrmSvc.dll |