PIBIO_STORAGE_GET_DATA_FORMAT_FN callback function (winbio_adapter.h)

Called by the Windows Biometric Framework to retrieve format and version information used by the current database associated with the pipeline.

Syntax

PIBIO_STORAGE_GET_DATA_FORMAT_FN PibioStorageGetDataFormatFn;

HRESULT PibioStorageGetDataFormatFn(
  [in, out] PWINBIO_PIPELINE Pipeline,
  [out]     PWINBIO_UUID Format,
  [out]     PWINBIO_VERSION Version
)
{...}

Parameters

[in, out] Pipeline

Pointer to a WINBIO_PIPELINE structure associated with the biometric unit performing the operation.

[out] Format

Pointer to a variable that receives a GUID that uniquely identifies the data format used by this storage adapter when it stores templates in the database.

[out] Version

Pointer to a WINBIO_VERSION structure that receives the version number of the storage adapter component.

Return value

If the function succeeds, it returns S_OK. If the function fails, it must return one of the following HRESULT values to indicate the error.

Return code Description
E_POINTER
A mandatory pointer argument is NULL.
WINBIO_E_INVALID_DEVICE_STATE
The StorageContext member of the pipeline object is NULL.

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_adapter.h (include Winbio_adapter.h)

See also

Plug-in Functions