Storage Adapter Functions

Storage Adapter Functions

A storage adapter manages template databases. The following functions must be implemented by the adapter developer. They are called by the Windows Biometric service.

In this section

TopicDescription

StorageAdapterActivate

Gives the Storage Adapter the chance to perform any work needed to bring the storage component out of an idle state.

StorageAdapterAddRecord

Adds a template to the database.

StorageAdapterAttach

Adds a storage adapter to the processing pipeline of the biometric unit.

StorageAdapterClearContext

Prepares the processing pipeline of the biometric unit for a new operation.

StorageAdapterCloseDatabase

Closes the database associated with the pipeline and frees all related resources.

StorageAdapterControlUnit

Performs a vendor-defined control operation that does not require elevated privilege.

StorageAdapterControlUnitPrivileged

Performs a vendor-defined control operation that requires elevated privilege.

StorageAdapterCreateDatabase

Creates and configures a new database.

StorageAdapterDeactivate

Gives the Storage Adapter the chance to perform any work needed to put the storage component into an idle state.

StorageAdapterDeleteRecord

Deletes one or more templates from the database.

StorageAdapterDetach

Releases adapter-specific resources attached to the pipeline.

StorageAdapterEraseDatabase

Erases the database and marks it for deletion.

StorageAdapterFirstRecord

Positions the result set cursor on the first record in the set.

StorageAdapterGetCurrentRecord

Retrieves the contents of the current record in the pipeline result set.

StorageAdapterGetDatabaseSize

Retrieves the database size and available space.

StorageAdapterGetDataFormat

Retrieves format and version information used by the current database associated with the pipeline.

StorageAdapterGetRecordCount

Retrieves the number of template records in the pipeline result set.

StorageAdapterNextRecord

Advances the result set cursor by one record.

StorageAdapterNotifyPowerChange

Receives notification about a change in the computer power state and prepares the storage adapter accordingly.

StorageAdapterOpenDatabase

Opens a database for use by the storage adapter.

StorageAdapterPipelineCleanup

Gives the Storage Adapter the chance to perform any cleanup in preparation for closing the template database.

StorageAdapterPipelineInit

Gives the Storage Adapter the chance to perform any initialization that remains incomplete.

StorageAdapterQueryByContent

Queries the database that is currently open for templates associated with a specified index vector.

StorageAdapterQueryBySubject

Queries the database that is currently open for templates associated with a specified identity and sub-factor.

StorageAdapterQueryExtendedInfo

Determines the capabilities and limitations of the biometric storage component.

WbioQueryStorageInterface

Retrieves a pointer to the WINBIO_STORAGE_INTERFACE structure for the storage adapter.

 

Related topics

Plug-in Functions

 

 

Show:
© 2016 Microsoft