Skip to content

Latest commit

 

History

History
79 lines (60 loc) · 2.55 KB

nf-mi-mi_operationoptions_setwriteerrormode.md

File metadata and controls

79 lines (60 loc) · 2.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mi.MI_OperationOptions_SetWriteErrorMode
MI_OperationOptions_SetWriteErrorMode function (mi.h)
Sets the error reporting mode. (MI_OperationOptions_SetWriteErrorMode)
MI_CALLBACKMODE_INQUIRE
MI_CALLBACKMODE_REPORT
MI_OperationOptions_SetWriteErrorMode
MI_OperationOptions_SetWriteErrorMode function [Windows Management Infrastructure (MI)]
mi/MI_OperationOptions_SetWriteErrorMode
wmi_v2.mi_operationoptions_setwriteerrormode
wmi_v2\mi_operationoptions_setwriteerrormode.htm
wmi_v2
5a6d764a-09a8-45fc-8d8d-468ea7ee5d59
12/05/2018
MI_CALLBACKMODE_INQUIRE, MI_CALLBACKMODE_REPORT, MI_OperationOptions_SetWriteErrorMode, MI_OperationOptions_SetWriteErrorMode function [Windows Management Infrastructure (MI)], mi/MI_OperationOptions_SetWriteErrorMode, wmi_v2.mi_operationoptions_setwriteerrormode
mi.h
Windows
Windows 8
Windows Server 2012
Windows
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2
19H1
MI_OperationOptions_SetWriteErrorMode
mi/MI_OperationOptions_SetWriteErrorMode
c++
APIRef
kbSyntax
HeaderDef
Mi.h
MI_OperationOptions_SetWriteErrorMode

MI_OperationOptions_SetWriteErrorMode function

-description

Sets the error reporting mode.

-parameters

-param options [in, out]

A pointer to a MI_OperationOptions structure.

-param mode [in]

One of the following MI_CallbackMode values.

MI_CALLBACKMODE_REPORT (0)

Prompt will be passed back to the client in reporting mode, meaning the client is notified of the prompt but cannot respond to it and the server will automatically confirm the request.

MI_CALLBACKMODE_INQUIRE (1)

Provider will block while the client is called back to ask if the operation should continue or not.

-returns

A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.