Function QTMS_SetQtmStatus

Source
pub unsafe extern "C" fn QTMS_SetQtmStatus(
    qtmStatus: QtmStatus,
) -> Result
Expand description

Gets the current QTM status (enabled/ss3d disabled/unavailable). Also sets or clear the “blacklisted” flag returned by QTMU_IsCurrentAppBlacklisted.

§Arguments

  • qtmStatus - QTM status to set. If equal to QTM_STATUS_UNAVAILABLE, sets the “blacklisted” flag, otherwise clears it.

§Returns

0xE0E18002 if enum value is invalid, otherwise 0 (success).

Note: System settings uses this to disable super-stable 3D, and NS to “blacklist” (make QTM unavailable) specific applications.