次の方法で共有


WEDF_DefaultAction.UpdateDefaultAction (Industry 8.1)

7/8/2014

Review the use, syntax, parameters, and return values of the WEDF_DefaultAction.UpdateDefaultAction method for Windows Embedded 8.1 Industry (Industry 8.1).

This method updates the default action that Dialog Filter performs on top-level windows that are not in the blocked window list or part of a protected process.

Syntax

[Static] uint32 UpdateDefaultAction (
    [Values{"CLOSE","SHOW"},In] sint32 action
);

Parameters

  • action
    [Values{"CLOSE","SHOW"},In] An integer that represents the default action that Dialog Filter takes for any top-level window that is not part of the blocked window list or in a protected process. The following table shows the possible values.

    Value

    Description

    0

    Close the window.

    1

    Show the window.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

If you do not set the default action, Dialog Filter shows unblocked windows by default.

You must use an administrator account to change the default action.

See Also

Reference

WEDF_DefaultAction

Concepts

Dialog Filter