WINBIO_STORAGE_INTERFACE_V2 structure
[This documentation is preliminary and is subject to change.]
TBD
Syntax
typedef struct _WINBIO_STORAGE_INTERFACE_V2 {
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;
} WINBIO_STORAGE_INTERFACE_V2, *PWINBIO_STORAGE_INTERFACE_V2;
Members
Version
Version number of this structure. This must be WINBIO_STORAGE_INTERFACE_VERSION_2.Type
The type of adapter. This must be WINBIO_ADAPTER_TYPE_STORAGE.Size
The size, in bytes, of this structure. Set this value to the size of the WINBIO_STORAGE_INTERFACE_V2 structure.AdapterId
A GUID that uniquely identifies the storage adapter. You must generate this value.Attach
A pointer to the implementation of the StorageAdapterAttach function.Detach
A pointer to the implementation of the StorageAdapterDetach function.ClearContext
A pointer to the implementation of the StorageAdapterClearContext function.CreateDatabase
A pointer to the implementation of the StorageAdapterCreateDatabase function.EraseDatabase
A pointer to the implementation of the StorageAdapterEraseDatabase function.OpenDatabase
A pointer to the implementation of the StorageAdapterOpenDatabase function.CloseDatabase
A pointer to the implementation of the StorageAdapterCloseDatabase function.GetDataFormat
A pointer to the implementation of the StorageAdapterGetDataFormat function.GetDatabaseSize
A pointer to the implementation of the StorageAdapterGetDatabaseSize function.AddRecord
A pointer to the implementation of the StorageAdapterAddRecord function.DeleteRecord
A pointer to the implementation of the StorageAdapterDeleteRecord function.QueryBySubject
A pointer to the implementation of the StorageAdapterQueryBySubject function.QueryByContent
A pointer to the implementation of the StorageAdapterQueryByContent function.GetRecordCount
A pointer to the implementation of the StorageAdapterGetRecordCount function.FirstRecord
A pointer to the implementation of the StorageAdapterFirstRecord function.NextRecord
A pointer to the implementation of the StorageAdapterNextRecord function.GetCurrentRecord
A pointer to the implementation of the StorageAdapterGetCurrentRecord function.ControlUnit
A pointer to the implementation of the StorageAdapterControlUnit function.ControlUnitPrivileged
A pointer to the implementation of the StorageAdapterControlUnitPrivileged function.NotifyPowerChange
A pointer to the implementation of the StorageAdapterNotifyPowerChange function.
Requirements
Minimum supported client |
Windows Developer Preview |
Minimum supported server |
Windows Server Developer Preview |
Header |
Winbio_adapter.h |
Build date: 9/7/2011