March 28, 2024

Dynamic Windows Function [dw_feature_get]

Syntax

int dw_feature_get(DWFEATURE feature)

Parameters

DWFEATURE feature: The requested feature for example DW_FEATURE_DARK_MODE

Returns

int DW_FEATURE_UNSUPPORTED if the library or OS does not support the feature. DW_FEATURE_DISABLED if the feature is supported but disabled. DW_FEATURE_ENABLED if the feature is supported and enabled. Other value greater than 1, same as enabled but with extra info.

Description

Gets the state of the requested library feature.

Remarks

This API was introduced in version 3.1.