3.1.5.24.7 HostWindow_SetCloseReason

The HostWindow_SetCloseReason message sets the reason the window is being closed.

The reason the window is being closed. The nCloseReason field specifies the ID of close reason.

Possible values are described in the following table.

Value

Description

0xFFFFFFFF

Unknown Reason.

0x00000000

Externally Forced.

0x00000001

User Requested.

0x00000002

Auto Restart.

0x00000003

Renderer Requested.

0x00000004

Generic Error.

The fields of the HostWindow_SetCloseReason are specified in section 2.2.4.23.7.

The common header fields are specified in section 2.2.4.