' ########################################################################################
' Microsoft Windows
' File: wiawsdsc.inc
' Contents: Contains custom WIA definitions for the WSD scan class driver
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' 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.
' ########################################################################################
#IF NOT %DEF(PBX_wiawsdsc_PBI)
#DEFINE PBX_wiawsdsc_PBI
%EQUATE `WIAWSDSC_INC = 1
#INCLUDE ONCE "Legacy/Devices/WiaDef.inc"
'//
'// Custom WIA property IDs (see wiadef.h)
'//
'// These custom properties describe PnP-X device properties
'// read at run time from Function Discovery, along with:
'//
'// WIA_DPS_SERVICE_ID
'// WIA_DPS_DEVICE_ID
'// WIA_DPS_GLOBAL_IDENTITY
'// WIA_DPS_FIRMWARE_VERSION
'//
'// All are read-only Root item properties maintained by the driver.
'//
'// Property Type: VT_BSTR
'// Valid Values: WIA_PROP_NONE
'// Access Rights: READONLY
'//
%EQUATE `WIA_WSD_MANUFACTURER = %WIA_PRIVATE_DEVPROP
$$WIA_WSD_MANUFACTURER_STR = "Device manufacturer"$$
%EQUATE `WIA_WSD_MANUFACTURER_URL = %WIA_PRIVATE_DEVPROP + 1
$$WIA_WSD_MANUFACTURER_URL_STR = "Manufacurer URL"$$
%EQUATE `WIA_WSD_MODEL_NAME = %WIA_PRIVATE_DEVPROP + 2
$$WIA_WSD_MODEL_NAME_STR = "Model name"$$
%EQUATE `WIA_WSD_MODEL_NUMBER = %WIA_PRIVATE_DEVPROP + 3
$$WIA_WSD_MODEL_NUMBER_STR = "Model number"$$
%EQUATE `WIA_WSD_MODEL_URL = %WIA_PRIVATE_DEVPROP + 4
$$WIA_WSD_MODEL_URL_STR = "Model URL"$$
%EQUATE `WIA_WSD_PRESENTATION_URL = %WIA_PRIVATE_DEVPROP + 5
$$WIA_WSD_PRESENTATION_URL_STR = "Presentation URL"$$
%EQUATE `WIA_WSD_FRIENDLY_NAME = %WIA_PRIVATE_DEVPROP + 6
$$WIA_WSD_FRIENDLY_NAME_STR = "Friendly name"$$
%EQUATE `WIA_WSD_SERIAL_NUMBER = %WIA_PRIVATE_DEVPROP + 7
$$WIA_WSD_SERIAL_NUMBER_STR = "Serial number"$$
'//
'// Obsolete custom WIA property for automatic input-source selection
'// during programmed push (device initiated) scanning, currently
'// replaced by the standard WIA_DPS_SCAN_AVAILABLE_ITEM (defined
'// in wiadef.h) and kept only for backwards compatibility.
'// Use WIA_DPS_SCAN_AVAILABLE_ITEM in all new code:
'//
%EQUATE `WIA_WSD_SCAN_AVAILABLE_ITEM = %WIA_PRIVATE_DEVPROP + 8
$$WIA_WSD_SCAN_AVAILABLE_ITEM_STR = $$WIA_DPS_SCAN_AVAILABLE_ITEM_STR
#ENDIF
