c++11 - C++ - Send IOCTL command to WBF to get sensor attributes on Windows -


i'm trying understand how can retrieve winbio_sensor_attributes buffer using wbf apis. found link: https://msdn.microsoft.com/en-us/library/windows/hardware/ff536431

it mentions sending ioctl command, however, i'm not able understand how can invoke c++ code , receive sensor attributes structure. can help? or point me sample code similar stuff?

first take @ deviceiocontrol - function must supply ioctl_biometric_get_attributes value second parameter obtain biometric data (the link included describes how handle size ouf output buffer - first supply dword sized buffer actual size of output , allocate sized buffer , retrieve actual data). need valid device handle (first parameter of deviceiocontrol). handle should obtained calling createfile , passing device name of driver. if not know pdo either can try looking in device manager if shows under "details" tab or have use setupdi* family functions enumerate biometrics device class , name there.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -