WinBioGetEnabledSetting function (winbio.h)

Retrieves a value that specifies whether the Windows Biometric Framework is currently enabled.

Syntax

void WinBioGetEnabledSetting(
  [out] BOOLEAN                     *Value,
  [out] PWINBIO_SETTING_SOURCE_TYPE Source
);

Parameters

[out] Value

Pointer to a Boolean value that specifies whether the Windows Biometric Framework is currently enabled.

[out] Source

Pointer to a WINBIO_SETTING_SOURCE_TYPE value that specifics the setting source. This can be one of the following values:

Value Meaning
WINBIO_SETTING_SOURCE_INVALID
The setting is not valid.
WINBIO_SETTING_SOURCE_DEFAULT
The setting originated from built-in policy.
WINBIO_SETTING_SOURCE_LOCAL
The setting originated in the local computer registry.
WINBIO_SETTING_SOURCE_POLICY
The setting was created by Group Policy.

Return value

If the function succeeds, it returns S_OK. If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winbio.h (include Winbio.h)
Library Winbio.lib
DLL Winbio.dll

See also

Client Application Functions