Skip to main content

IAcpHal::Disconnect

Disconnects from the ACP.

Syntax

Parameters

Return value

Type: HRESULT If the method succeeds, it returns S_OK. If the method fails, it returns one of the following codes (partial list):

Remarks

PopMessage is the only method that can be called after this method. If a message queue was created during the Connect call, and if the message type ACP_MESSAGE_TYPE_DISCONNECTED was registered for, it will be the last message sent by the ACP. When the disconnected message is received, the ACP no longer references any resources allocated by this instance.

Requirements

Header: acphal.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

Connect
AcpHal
Last modified on August 20, 2026