diff options
| author | David Spruill <[email protected]> | 2026-01-08 17:51:47 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-08 17:51:47 -0500 |
| commit | c5fc3ca1fd0e00a7e085ef48abfeff9c0c39817e (patch) | |
| tree | 0e650a0fee8027816bbea82ca1fd9b8e3e6ee24a /biometrics/adapters/sensor_adapter | |
| parent | f88e4fbbd4d2671e5cd77e4f60be7a235326797e (diff) | |
| parent | ed3dbe56378117a15105099870f2397671ad99ab (diff) | |
Merge branch 'develop' into user/daspr/kmodsamplefix
Diffstat (limited to 'biometrics/adapters/sensor_adapter')
| -rw-r--r-- | biometrics/adapters/sensor_adapter/SensorAdapter.cpp | 485 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/SensorAdapter.def | 5 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/SensorAdapter.h | 68 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/SensorAdapter.rc | 29 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj | 228 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj.Filters | 33 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/precomp.h | 62 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/precompsrc.cpp | 1 | ||||
| -rw-r--r-- | biometrics/adapters/sensor_adapter/resource.h | 15 |
9 files changed, 0 insertions, 926 deletions
diff --git a/biometrics/adapters/sensor_adapter/SensorAdapter.cpp b/biometrics/adapters/sensor_adapter/SensorAdapter.cpp deleted file mode 100644 index 0e5345aa..00000000 --- a/biometrics/adapters/sensor_adapter/SensorAdapter.cpp +++ /dev/null @@ -1,485 +0,0 @@ -/*++ - - THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF - ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO - THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A - PARTICULAR PURPOSE. - - Copyright (c) Microsoft Corporation. All rights reserved - -Module Name: - - SensorAdapter.cpp - -Abstract: - - This module contains a stub implementation of a Sensor Adapter - plug-in for the Windows Biometric service. - -Author: - - - - -Environment: - - Win32, user mode only. - -Revision History: - -NOTES: - - (None) - ---*/ - -/////////////////////////////////////////////////////////////////////////////// -// -// Header files... -// -/////////////////////////////////////////////////////////////////////////////// -#include "precomp.h" -#include "winbio_adapter.h" -#include "SensorAdapter.h" - - -/////////////////////////////////////////////////////////////////////////////// -// -// Forward declarations for the Engine Adapter's interface routines... -// -/////////////////////////////////////////////////////////////////////////////// -static HRESULT -WINAPI -SensorAdapterAttach( - _Inout_ PWINBIO_PIPELINE Pipeline - ); - -static HRESULT -WINAPI -SensorAdapterDetach( - _Inout_ PWINBIO_PIPELINE Pipeline - ); - -static HRESULT -WINAPI -SensorAdapterClearContext( - _Inout_ PWINBIO_PIPELINE Pipeline - ); - -static HRESULT -WINAPI -SensorAdapterQueryStatus( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_SENSOR_STATUS Status - ); - -static HRESULT -WINAPI -SensorAdapterReset( - _Inout_ PWINBIO_PIPELINE Pipeline - ); - -static HRESULT -WINAPI -SensorAdapterSetMode( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_SENSOR_MODE Mode - ); - -static HRESULT -WINAPI -SensorAdapterSetIndicatorStatus( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_INDICATOR_STATUS IndicatorStatus - ); - -static HRESULT -WINAPI -SensorAdapterGetIndicatorStatus( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_INDICATOR_STATUS IndicatorStatus - ); - -static HRESULT -WINAPI -SensorAdapterStartCapture( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_BIR_PURPOSE Purpose, - _Out_ LPOVERLAPPED *Overlapped - ); - -static HRESULT -WINAPI -SensorAdapterFinishCapture( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_REJECT_DETAIL RejectDetail - ); - -static HRESULT -WINAPI -SensorAdapterClearCaptureBuffer( - _Inout_ PWINBIO_PIPELINE Pipeline - ); - -static HRESULT -WINAPI -SensorAdapterExportSensorData( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_BIR *SampleBuffer, - _Out_ PSIZE_T SampleSize - ); - -static HRESULT -WINAPI -SensorAdapterCancel( - _Inout_ PWINBIO_PIPELINE Pipeline - ); - -static HRESULT -WINAPI -SensorAdapterPushDataToEngine( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_BIR_PURPOSE Purpose, - _In_ WINBIO_BIR_DATA_FLAGS Flags, - _Out_ PWINBIO_REJECT_DETAIL RejectDetail - ); - -static HRESULT -WINAPI -SensorAdapterControlUnit( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ ULONG ControlCode, - _In_ PUCHAR SendBuffer, - _In_ SIZE_T SendBufferSize, - _In_ PUCHAR ReceiveBuffer, - _In_ SIZE_T ReceiveBufferSize, - _Out_ PSIZE_T ReceiveDataSize, - _Out_ PULONG OperationStatus - ); - -static HRESULT -WINAPI -SensorAdapterControlUnitPrivileged( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ ULONG ControlCode, - _In_ PUCHAR SendBuffer, - _In_ SIZE_T SendBufferSize, - _In_ PUCHAR ReceiveBuffer, - _In_ SIZE_T ReceiveBufferSize, - _Out_ PSIZE_T ReceiveDataSize, - _Out_ PULONG OperationStatus - ); -//----------------------------------------------------------------------------- - - -/////////////////////////////////////////////////////////////////////////////// -// -// Interface dispatch table -// -/////////////////////////////////////////////////////////////////////////////// -static WINBIO_SENSOR_INTERFACE g_SensorInterface = { - WINBIO_STORAGE_INTERFACE_VERSION_1, - WINBIO_ADAPTER_TYPE_SENSOR, - sizeof(WINBIO_SENSOR_INTERFACE), - {0xa545298c, 0xec34, 0x4306, {0x84, 0x12, 0x83, 0x12, 0x5d, 0xca, 0xfa, 0xe1}}, - - SensorAdapterAttach, - SensorAdapterDetach, - SensorAdapterClearContext, - SensorAdapterQueryStatus, - SensorAdapterReset, - SensorAdapterSetMode, - SensorAdapterSetIndicatorStatus, - SensorAdapterGetIndicatorStatus, - SensorAdapterStartCapture, - SensorAdapterFinishCapture, - SensorAdapterExportSensorData, - SensorAdapterCancel, - SensorAdapterPushDataToEngine, - SensorAdapterControlUnit, - SensorAdapterControlUnitPrivileged -}; -//----------------------------------------------------------------------------- - - -/////////////////////////////////////////////////////////////////////////////// -// -// Mandatory DLL entrypoint function. -// -/////////////////////////////////////////////////////////////////////////////// -BOOL APIENTRY -DllMain( - HANDLE ModuleHandle, - DWORD ReasonForCall, - LPVOID Reserved - ) -{ - UNREFERENCED_PARAMETER(ModuleHandle); - UNREFERENCED_PARAMETER(ReasonForCall); - UNREFERENCED_PARAMETER(Reserved); - - return TRUE; -} -//----------------------------------------------------------------------------- - - -/////////////////////////////////////////////////////////////////////////////// -// -// Well-known interface-discovery function exported by the Sensor Adapter -// -/////////////////////////////////////////////////////////////////////////////// -HRESULT -WINAPI -WbioQuerySensorInterface( - _Out_ PWINBIO_SENSOR_INTERFACE *SensorInterface - ) -{ - *SensorInterface = &g_SensorInterface; - return S_OK; -} -//----------------------------------------------------------------------------- - - -/////////////////////////////////////////////////////////////////////////////// -// -// Storage Adapter action routines -// -/////////////////////////////////////////////////////////////////////////////// -static HRESULT -WINAPI -SensorAdapterAttach( - _Inout_ PWINBIO_PIPELINE Pipeline - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterDetach( - _Inout_ PWINBIO_PIPELINE Pipeline - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterClearContext( - _Inout_ PWINBIO_PIPELINE Pipeline - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterQueryStatus( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_SENSOR_STATUS Status - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(Status); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterReset( - _Inout_ PWINBIO_PIPELINE Pipeline - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterSetMode( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_SENSOR_MODE Mode - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(Mode); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterSetIndicatorStatus( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_INDICATOR_STATUS IndicatorStatus - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(IndicatorStatus); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterGetIndicatorStatus( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_INDICATOR_STATUS IndicatorStatus - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(IndicatorStatus); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterStartCapture( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_BIR_PURPOSE Purpose, - _Out_ LPOVERLAPPED *Overlapped - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(Purpose); - UNREFERENCED_PARAMETER(Overlapped); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterFinishCapture( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_REJECT_DETAIL RejectDetail - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(RejectDetail); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -// -// Export raw capture buffer -// -static HRESULT -WINAPI -SensorAdapterExportSensorData( - _Inout_ PWINBIO_PIPELINE Pipeline, - _Out_ PWINBIO_BIR *SampleBuffer, - _Out_ PSIZE_T SampleSize - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(SampleBuffer); - UNREFERENCED_PARAMETER(SampleSize); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterCancel( - _Inout_ PWINBIO_PIPELINE Pipeline - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -// -// Push current sample into the Engine and -// convert it into a feature set for use in -// additional processing. -// -static HRESULT -WINAPI -SensorAdapterPushDataToEngine( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ WINBIO_BIR_PURPOSE Purpose, - _In_ WINBIO_BIR_DATA_FLAGS Flags, - _Out_ PWINBIO_REJECT_DETAIL RejectDetail - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(Purpose); - UNREFERENCED_PARAMETER(Flags); - UNREFERENCED_PARAMETER(RejectDetail); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterControlUnit( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ ULONG ControlCode, - _In_ PUCHAR SendBuffer, - _In_ SIZE_T SendBufferSize, - _In_ PUCHAR ReceiveBuffer, - _In_ SIZE_T ReceiveBufferSize, - _Out_ PSIZE_T ReceiveDataSize, - _Out_ PULONG OperationStatus - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(ControlCode); - UNREFERENCED_PARAMETER(SendBuffer); - UNREFERENCED_PARAMETER(SendBufferSize); - UNREFERENCED_PARAMETER(ReceiveBuffer); - UNREFERENCED_PARAMETER(ReceiveBufferSize); - UNREFERENCED_PARAMETER(ReceiveDataSize); - UNREFERENCED_PARAMETER(OperationStatus); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// - -static HRESULT -WINAPI -SensorAdapterControlUnitPrivileged( - _Inout_ PWINBIO_PIPELINE Pipeline, - _In_ ULONG ControlCode, - _In_ PUCHAR SendBuffer, - _In_ SIZE_T SendBufferSize, - _In_ PUCHAR ReceiveBuffer, - _In_ SIZE_T ReceiveBufferSize, - _Out_ PSIZE_T ReceiveDataSize, - _Out_ PULONG OperationStatus - ) -{ - UNREFERENCED_PARAMETER(Pipeline); - UNREFERENCED_PARAMETER(ControlCode); - UNREFERENCED_PARAMETER(SendBuffer); - UNREFERENCED_PARAMETER(SendBufferSize); - UNREFERENCED_PARAMETER(ReceiveBuffer); - UNREFERENCED_PARAMETER(ReceiveBufferSize); - UNREFERENCED_PARAMETER(ReceiveDataSize); - UNREFERENCED_PARAMETER(OperationStatus); - - return E_NOTIMPL; -} -/////////////////////////////////////////////////////////////////////////////// diff --git a/biometrics/adapters/sensor_adapter/SensorAdapter.def b/biometrics/adapters/sensor_adapter/SensorAdapter.def deleted file mode 100644 index e2534008..00000000 --- a/biometrics/adapters/sensor_adapter/SensorAdapter.def +++ /dev/null @@ -1,5 +0,0 @@ -LIBRARY SensorAdapter - -EXPORTS - WbioQuerySensorInterface - diff --git a/biometrics/adapters/sensor_adapter/SensorAdapter.h b/biometrics/adapters/sensor_adapter/SensorAdapter.h deleted file mode 100644 index f70c3f51..00000000 --- a/biometrics/adapters/sensor_adapter/SensorAdapter.h +++ /dev/null @@ -1,68 +0,0 @@ -/*++ - - THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF - ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO - THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A - PARTICULAR PURPOSE. - - Copyright (c) Microsoft Corporation. All rights reserved - -Module Name: - - SensorAdapter.h - -Abstract: - - This module contains a stub implementation of an Sensor Adapter - plug-in for the Windows Biometric service. - -Author: - - - - -Environment: - - Win32, user mode only. - -Revision History: - -NOTES: - - (None) - ---*/ -#pragma once - -#include "winbio_adapter.h" - -/////////////////////////////////////////////////////////////////////////////// -// -// The WINIBIO_SENSOR_CONTEXT structure is privately-defined by each -// Sensor Adapter. Its purpose is to maintain any information that -// should persist across Sensor Adapter API calls. -// -// The Adapter allocates and initializes one of these structures in its -// 'Attach' routine and saves its address in the Pipeline->SensorContext -// field. -// -// The Sensor Adapter's 'Detach' routine cleans up and deallocates the -// structure and sets the PipelineContext->SensorContext field to NULL. -// -/////////////////////////////////////////////////////////////////////////////// -typedef struct _WINIBIO_SENSOR_CONTEXT { - // - // The following fields illustrate the kind of information - // the Sensor Adapter needs to keep in this structure: - // - // SampleBuffer - A pointer to the most-recently-captured - // data sample from the sensor device. - // - // SampleSize - Count of the number of bytes in the - // sample buffer. - // - PWINBIO_BIR SampleBuffer; - SIZE_T SampleSize; - -} WINIBIO_SENSOR_CONTEXT, *PWINIBIO_SENSOR_CONTEXT; - - diff --git a/biometrics/adapters/sensor_adapter/SensorAdapter.rc b/biometrics/adapters/sensor_adapter/SensorAdapter.rc deleted file mode 100644 index 0c08a208..00000000 --- a/biometrics/adapters/sensor_adapter/SensorAdapter.rc +++ /dev/null @@ -1,29 +0,0 @@ -//--------------------------------------------------------------------------- -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved -// -// BioUsbSample.rc -// -// Copyright (c) 2007 Microsoft Corporation, All Rights Reserved -//--------------------------------------------------------------------------- - - -#include <windows.h> -#include <ntverp.h> -#include "resource.h" - -// -// TODO: Change the file description and file names to match your binary. -// - -#define VER_FILETYPE VFT_DLL -#define VER_FILESUBTYPE VFT_UNKNOWN -#define VER_FILEDESCRIPTION_STR "Sensor Adapter Sample" -#define VER_INTERNALNAME_STR "SensorAdapter" -#define VER_ORIGINALFILENAME_STR "SensorAdapter.dll" - -#include "common.ver" diff --git a/biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj b/biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj deleted file mode 100644 index 166f8076..00000000 --- a/biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj +++ /dev/null @@ -1,228 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{321860DA-56D9-427A-A5C2-346DFE8FB529}</ProjectGuid> - <RootNamespace>$(MSBuildProjectName)</RootNamespace> - <SupportsPackaging>false</SupportsPackaging> - <RequiresPackageProject>true</RequiresPackageProject> - <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration> - <Platform Condition="'$(Platform)' == ''">Win32</Platform> - <SampleGuid>{6166C525-23D0-4D3C-8DD3-1E3CB527FA23}</SampleGuid> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <TargetVersion>Windows10</TargetVersion> - <UseDebugLibraries>False</UseDebugLibraries> - <DriverTargetPlatform>Windows Driver</DriverTargetPlatform> - <DriverType /> - <PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> - <ConfigurationType>DynamicLibrary</ConfigurationType> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <TargetVersion>Windows10</TargetVersion> - <UseDebugLibraries>True</UseDebugLibraries> - <DriverTargetPlatform>Windows Driver</DriverTargetPlatform> - <DriverType /> - <PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> - <ConfigurationType>DynamicLibrary</ConfigurationType> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <TargetVersion>Windows10</TargetVersion> - <UseDebugLibraries>False</UseDebugLibraries> - <DriverTargetPlatform>Windows Driver</DriverTargetPlatform> - <DriverType /> - <PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> - <ConfigurationType>DynamicLibrary</ConfigurationType> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <TargetVersion>Windows10</TargetVersion> - <UseDebugLibraries>True</UseDebugLibraries> - <DriverTargetPlatform>Windows Driver</DriverTargetPlatform> - <DriverType /> - <PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> - <ConfigurationType>DynamicLibrary</ConfigurationType> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <PropertyGroup> - <OutDir>$(IntDir)</OutDir> - </PropertyGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> - </ImportGroup> - <ItemGroup Label="WrappedTaskItems" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <TargetName>SensorAdapter</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <TargetName>SensorAdapter</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <TargetName>SensorAdapter</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <TargetName>SensorAdapter</TargetName> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <TreatWarningAsError>true</TreatWarningAsError> - <WarningLevel>Level4</WarningLevel> - </ClCompile> - <Link> - <EntryPointSymbol Condition="'$(Platform)'=='win32'">_DllMainCRTStartup@12</EntryPointSymbol> - <EntryPointSymbol Condition="'$(Platform)'!='win32'">_DllMainCRTStartup</EntryPointSymbol> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <TreatWarningAsError>true</TreatWarningAsError> - <WarningLevel>Level4</WarningLevel> - </ClCompile> - <Link> - <EntryPointSymbol Condition="'$(Platform)'=='win32'">_DllMainCRTStartup@12</EntryPointSymbol> - <EntryPointSymbol Condition="'$(Platform)'!='win32'">_DllMainCRTStartup</EntryPointSymbol> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <TreatWarningAsError>true</TreatWarningAsError> - <WarningLevel>Level4</WarningLevel> - </ClCompile> - <Link> - <EntryPointSymbol Condition="'$(Platform)'=='win32'">_DllMainCRTStartup@12</EntryPointSymbol> - <EntryPointSymbol Condition="'$(Platform)'!='win32'">_DllMainCRTStartup</EntryPointSymbol> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <TreatWarningAsError>true</TreatWarningAsError> - <WarningLevel>Level4</WarningLevel> - </ClCompile> - <Link> - <EntryPointSymbol Condition="'$(Platform)'=='win32'">_DllMainCRTStartup@12</EntryPointSymbol> - <EntryPointSymbol Condition="'$(Platform)'!='win32'">_DllMainCRTStartup</EntryPointSymbol> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - <ExceptionHandling> - </ExceptionHandling> - </ClCompile> - <Midl> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </Midl> - <ResourceCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies);advapi32.lib;kernel32.lib;user32.lib</AdditionalDependencies> - <ModuleDefinitionFile>SensorAdapter.def</ModuleDefinitionFile> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - <ExceptionHandling> - </ExceptionHandling> - </ClCompile> - <Midl> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </Midl> - <ResourceCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies);advapi32.lib;kernel32.lib;user32.lib</AdditionalDependencies> - <ModuleDefinitionFile>SensorAdapter.def</ModuleDefinitionFile> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - <ExceptionHandling> - </ExceptionHandling> - </ClCompile> - <Midl> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </Midl> - <ResourceCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies);advapi32.lib;kernel32.lib;user32.lib</AdditionalDependencies> - <ModuleDefinitionFile>SensorAdapter.def</ModuleDefinitionFile> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - <ExceptionHandling> - </ExceptionHandling> - </ClCompile> - <Midl> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </Midl> - <ResourceCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);_UNICODE;UNICODE</PreprocessorDefinitions> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies);advapi32.lib;kernel32.lib;user32.lib</AdditionalDependencies> - <ModuleDefinitionFile>SensorAdapter.def</ModuleDefinitionFile> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="precompsrc.cpp"> - <AdditionalIncludeDirectories>;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreCompiledHeaderFile>precomp.h</PreCompiledHeaderFile> - <PreCompiledHeader>Create</PreCompiledHeader> - <PreCompiledHeaderOutputFile>$(IntDir)\precomp.h.pch</PreCompiledHeaderOutputFile> - </ClCompile> - <ClCompile Include="SensorAdapter.cpp"> - <AdditionalIncludeDirectories>;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreCompiledHeaderFile>precomp.h</PreCompiledHeaderFile> - <PreCompiledHeader>Use</PreCompiledHeader> - <PreCompiledHeaderOutputFile>$(IntDir)\precomp.h.pch</PreCompiledHeaderOutputFile> - </ClCompile> - <ResourceCompile Include="SensorAdapter.rc" /> - </ItemGroup> - <ItemGroup> - <Inf Exclude="@(Inf)" Include="*.inf" /> - <FilesToPackage Include="$(TargetPath)" Condition="'$(ConfigurationType)'=='Driver' or '$(ConfigurationType)'=='DynamicLibrary'" /> - </ItemGroup> - <ItemGroup> - <None Exclude="@(None)" Include="*.txt;*.htm;*.html" /> - <None Exclude="@(None)" Include="*.ico;*.cur;*.bmp;*.dlg;*.rct;*.gif;*.jpg;*.jpeg;*.wav;*.jpe;*.tiff;*.tif;*.png;*.rc2" /> - <None Exclude="@(None)" Include="*.def;*.bat;*.hpj;*.asmx" /> - </ItemGroup> - <ItemGroup> - <ClInclude Exclude="@(ClInclude)" Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -</Project>
\ No newline at end of file diff --git a/biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj.Filters b/biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj.Filters deleted file mode 100644 index 53f0b241..00000000 --- a/biometrics/adapters/sensor_adapter/SensorAdapter.vcxproj.Filters +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup> - <Filter Include="Source Files"> - <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx;*</Extensions> - <UniqueIdentifier>{51205C64-E853-46B7-8706-03C4F355D3FB}</UniqueIdentifier> - </Filter> - <Filter Include="Header Files"> - <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> - <UniqueIdentifier>{65E3A5BF-7427-4CB0-B6C7-F47537AC67BB}</UniqueIdentifier> - </Filter> - <Filter Include="Resource Files"> - <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms;man;xml</Extensions> - <UniqueIdentifier>{05AE8E4A-3180-403D-BFB9-122DD85E0D1A}</UniqueIdentifier> - </Filter> - </ItemGroup> - <ItemGroup> - <ClCompile Include="precompsrc.cpp"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="SensorAdapter.cpp"> - <Filter>Source Files</Filter> - </ClCompile> - <None Include="SensorAdapter.def"> - <Filter>Source Files</Filter> - </None> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="SensorAdapter.rc"> - <Filter>Resource Files</Filter> - </ResourceCompile> - </ItemGroup> -</Project>
\ No newline at end of file diff --git a/biometrics/adapters/sensor_adapter/precomp.h b/biometrics/adapters/sensor_adapter/precomp.h deleted file mode 100644 index c36eb36c..00000000 --- a/biometrics/adapters/sensor_adapter/precomp.h +++ /dev/null @@ -1,62 +0,0 @@ -/*++ - - THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF - ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO - THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A - PARTICULAR PURPOSE. - - Copyright (c) Microsoft Corporation. All rights reserved - -Module Name: - - precomp.h - -Abstract: - - This module contains identifies all the headers that - shoulde be pre-compiled. - -Author: - - - - -Environment: - - Win32, user mode only. - -Revision History: - -NOTES: - - (None) - ---*/ -#pragma once - -// -// Necessary for compiling under VC. -// -#if(!defined(WINVER) || (WINVER < 0x0500)) - #undef WINVER - #define WINVER 0x0500 -#endif -#if(!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0500)) - #undef _WIN32_WINNT - #define _WIN32_WINNT 0x0500 -#endif - -// -// Required header files that shouldn't change often. -// -#include <stdio.h> -#include <tchar.h> -#include <windows.h> - -// -// StrSafe.h needs to be included last -// to disallow unsafe string functions. -#include <STRSAFE.H> - -#ifndef ARGUMENT_PRESENT -#define ARGUMENT_PRESENT(x) ((x) != NULL) -#endif diff --git a/biometrics/adapters/sensor_adapter/precompsrc.cpp b/biometrics/adapters/sensor_adapter/precompsrc.cpp deleted file mode 100644 index 5944cf51..00000000 --- a/biometrics/adapters/sensor_adapter/precompsrc.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "precomp.h"
\ No newline at end of file diff --git a/biometrics/adapters/sensor_adapter/resource.h b/biometrics/adapters/sensor_adapter/resource.h deleted file mode 100644 index 95ed37fa..00000000 --- a/biometrics/adapters/sensor_adapter/resource.h +++ /dev/null @@ -1,15 +0,0 @@ -//--------------------------------------------------------------------------- -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved -// -// BioUsbSample.rc -// -// Copyright (c) 2007 Microsoft Corporation, All Rights Reserved -//--------------------------------------------------------------------------- - -#pragma once - |
