Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays the Access Denied Remediation (ADR) client dialog.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
int Show(
ulong parentWnd,
string accessPath,
_AdrClientErrorType errorType,
int flags,
string windowTitle = "",
string windowMessage = ""
)
int Show(
unsigned long long parentWnd,
String^ accessPath,
_AdrClientErrorType errorType,
int flags,
String^ windowTitle = "",
String^ windowMessage = ""
)
abstract Show :
parentWnd:uint64 *
accessPath:string *
errorType:_AdrClientErrorType *
flags:int *
windowTitle:string = "" *
windowMessage:string = "" -> int
Function Show (
parentWnd As ULong,
accessPath As String,
errorType As _AdrClientErrorType,
flags As Integer,
windowTitle As String,
windowMessage As String
) As Integer
Parameters
parentWnd
Type: System.UInt64Handle to the window that will be the parent of the dialog that will be displayed.
accessPath
Type: System.StringPath of the file being accessed.
errorType
Type: Microsoft.Storage._AdrClientErrorTypeThe client error type as enumerated by the _AdrClientErrorType enumeration.
flags
Type: System.Int32Reserved. Set to 0.
windowTitle
Type: System.StringOptional text to display as the title of the dialog window that is opened.
windowMessage
Type: System.StringOptional text to display above the instructions in the dialog window that is opened.
Return Value
Type: System.Int32
Returns Int32. If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
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.
See Also
IFsrmAccessDeniedRemediationClient
Microsoft.Storage Namespace
Return to top