struktur WINBIO_STORAGE_INTERFACE (winbio_adapter.h)

Struktur WINBIO_STORAGE_INTERFACE berisi penunjuk ke fungsi adaptor penyimpanan kustom Anda. Windows Biometric Framework menggunakan struktur ini untuk menemukan fungsi.

Sintaks

typedef struct _WINBIO_STORAGE_INTERFACE {
  WINBIO_ADAPTER_INTERFACE_VERSION         Version;
  WINBIO_ADAPTER_TYPE                      Type;
  SIZE_T                                   Size;
  GUID                                     AdapterId;
  PIBIO_STORAGE_ATTACH_FN                  Attach;
  PIBIO_STORAGE_DETACH_FN                  Detach;
  PIBIO_STORAGE_CLEAR_CONTEXT_FN           ClearContext;
  PIBIO_STORAGE_CREATE_DATABASE_FN         CreateDatabase;
  PIBIO_STORAGE_ERASE_DATABASE_FN          EraseDatabase;
  PIBIO_STORAGE_OPEN_DATABASE_FN           OpenDatabase;
  PIBIO_STORAGE_CLOSE_DATABASE_FN          CloseDatabase;
  PIBIO_STORAGE_GET_DATA_FORMAT_FN         GetDataFormat;
  PIBIO_STORAGE_GET_DATABASE_SIZE_FN       GetDatabaseSize;
  PIBIO_STORAGE_ADD_RECORD_FN              AddRecord;
  PIBIO_STORAGE_DELETE_RECORD_FN           DeleteRecord;
  PIBIO_STORAGE_QUERY_BY_SUBJECT_FN        QueryBySubject;
  PIBIO_STORAGE_QUERY_BY_CONTENT_FN        QueryByContent;
  PIBIO_STORAGE_GET_RECORD_COUNT_FN        GetRecordCount;
  PIBIO_STORAGE_FIRST_RECORD_FN            FirstRecord;
  PIBIO_STORAGE_NEXT_RECORD_FN             NextRecord;
  PIBIO_STORAGE_GET_CURRENT_RECORD_FN      GetCurrentRecord;
  PIBIO_STORAGE_CONTROL_UNIT_FN            ControlUnit;
  PIBIO_STORAGE_CONTROL_UNIT_PRIVILEGED_FN ControlUnitPrivileged;
  PIBIO_STORAGE_NOTIFY_POWER_CHANGE_FN     NotifyPowerChange;
  PIBIO_STORAGE_PIPELINE_INIT_FN           PipelineInit;
  PIBIO_STORAGE_PIPELINE_CLEANUP_FN        PipelineCleanup;
  PIBIO_STORAGE_ACTIVATE_FN                Activate;
  PIBIO_STORAGE_DEACTIVATE_FN              Deactivate;
  PIBIO_STORAGE_QUERY_EXTENDED_INFO_FN     QueryExtendedInfo;
  PIBIO_STORAGE_NOTIFY_DATABASE_CHANGE_FN  NotifyDatabaseChange;
  PIBIO_STORAGE_RESERVED_1_FN              Reserved1;
  PIBIO_STORAGE_RESERVED_2_FN              Reserved2;
  PIBIO_STORAGE_UPDATE_RECORD_BEGIN_FN     UpdateRecordBegin;
  PIBIO_STORAGE_UPDATE_RECORD_COMMIT_FN    UpdateRecordCommit;
} *PWINBIO_STORAGE_INTERFACE, WINBIO_STORAGE_INTERFACE;

Anggota

Version

Nomor versi struktur ini.

Windows 10: Nomor versi harus WINBIO_STORAGE_INTERFACE_VERSION_3.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012 dan Windows 8: Nomor versi harus WINBIO_STORAGE_INTERFACE_VERSION_2.

Windows Server 2008 R2 dan Windows 7: Nomor versi harus WINBIO_STORAGE_INTERFACE_VERSION_1.

Type

Jenis adaptor. Ini harus WINBIO_ADAPTER_TYPE_STORAGE.

Size

Ukuran, dalam byte, dari struktur ini. Atur nilai ini ke ukuran struktur WINBIO_STORAGE_INTERFACE .

AdapterId

GUID yang secara unik mengidentifikasi adaptor penyimpanan. Anda harus menghasilkan nilai ini.

Attach

Penunjuk ke implementasi fungsi StorageAdapterAttach Anda.

Detach

Penunjuk ke implementasi fungsi StorageAdapterDetach Anda.

ClearContext

Penunjuk ke implementasi fungsi StorageAdapterClearContext Anda.

CreateDatabase

Penunjuk ke implementasi fungsi StorageAdapterCreateDatabase Anda.

EraseDatabase

Penunjuk ke implementasi fungsi StorageAdapterEraseDatabase Anda.

OpenDatabase

Penunjuk ke implementasi fungsi StorageAdapterOpenDatabase Anda.

CloseDatabase

Penunjuk ke implementasi fungsi StorageAdapterCloseDatabase Anda.

GetDataFormat

Penunjuk ke implementasi fungsi StorageAdapterGetDataFormat Anda.

GetDatabaseSize

Penunjuk ke implementasi fungsi StorageAdapterGetDatabaseSize Anda.

AddRecord

Penunjuk ke implementasi fungsi StorageAdapterAddRecord Anda.

DeleteRecord

Penunjuk ke implementasi fungsi StorageAdapterDeleteRecord Anda.

QueryBySubject

Penunjuk ke implementasi fungsi StorageAdapterQueryBySubject Anda.

QueryByContent

Penunjuk ke implementasi fungsi StorageAdapterQueryByContent Anda.

GetRecordCount

Penunjuk ke implementasi fungsi StorageAdapterGetRecordCount Anda.

FirstRecord

Penunjuk ke implementasi fungsi StorageAdapterFirstRecord Anda.

NextRecord

Penunjuk ke implementasi fungsi StorageAdapterNextRecord Anda.

GetCurrentRecord

Penunjuk ke implementasi Fungsi StorageAdapterGetCurrentRecord Anda.

ControlUnit

Penunjuk ke implementasi fungsi StorageAdapterControlUnit Anda.

ControlUnitPrivileged

Penunjuk ke implementasi Fungsi StorageAdapterControlUnitPrivileged Anda.

NotifyPowerChange

Penunjuk ke implementasi Fungsi StorageAdapterNotifyPowerChange Anda. Anggota ini didukung mulai dari Windows 8.

PipelineInit

Penunjuk ke implementasi fungsi StorageAdapterPipelineInit Anda. Anggota ini didukung mulai dari Windows 10.

PipelineCleanup

Penunjuk ke implementasi fungsi StorageAdapterPipelineCleanup Anda. Anggota ini didukung mulai dari Windows 10.

Activate

Penunjuk ke implementasi fungsi StorageAdapterActivate Anda. Anggota ini didukung mulai dari Windows 10.

Deactivate

Penunjuk ke implementasi fungsi StorageAdapterDeactivate Anda. Anggota ini didukung mulai dari Windows 10.

QueryExtendedInfo

Penunjuk ke implementasi fungsi StorageAdapterQueryExtendedInfo Anda. Anggota ini didukung mulai dari Windows 10.

NotifyDatabaseChange

Reserved1

Reserved2

UpdateRecordBegin

UpdateRecordCommit

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 7 [hanya aplikasi desktop]
Server minimum yang didukung Windows Server 2008 R2 [hanya aplikasi desktop]
Header winbio_adapter.h

Lihat juga

Fungsi Plug-in

Struktur Plug-in

WbioQueryStorageInterface