-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathWiaWSDsc.pas
More file actions
79 lines (62 loc) · 2.32 KB
/
WiaWSDsc.pas
File metadata and controls
79 lines (62 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
(****************************************************************************
*
*
* File: WiaWSDsc.pas
*
* Version: 2.0
*
* Description: contains custom WIA definitions for the WSD scan class driver
*
*****************************************************************************
*
* 2025-06-09 Translation and adaptation by Massimo Magnano
*
*****************************************************************************)
unit WiaWSDsc;
interface
uses WiaDef;
const
//
// 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
//
WIA_WSD_MANUFACTURER = WIA_PRIVATE_DEVPROP;
WIA_WSD_MANUFACTURER_STR = 'Device manufacturer';
WIA_WSD_MANUFACTURER_URL = (WIA_PRIVATE_DEVPROP + 1);
WIA_WSD_MANUFACTURER_URL_STR = 'Manufacurer URL';
WIA_WSD_MODEL_NAME = (WIA_PRIVATE_DEVPROP + 2);
WIA_WSD_MODEL_NAME_STR = 'Model name';
WIA_WSD_MODEL_NUMBER = (WIA_PRIVATE_DEVPROP + 3);
WIA_WSD_MODEL_NUMBER_STR = 'Model number';
WIA_WSD_MODEL_URL = (WIA_PRIVATE_DEVPROP + 4);
WIA_WSD_MODEL_URL_STR = 'Model URL';
WIA_WSD_PRESENTATION_URL = (WIA_PRIVATE_DEVPROP + 5);
WIA_WSD_PRESENTATION_URL_STR = 'Presentation URL';
WIA_WSD_FRIENDLY_NAME = (WIA_PRIVATE_DEVPROP + 6);
WIA_WSD_FRIENDLY_NAME_STR = 'Friendly name';
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:
//
WIA_WSD_SCAN_AVAILABLE_ITEM = (WIA_PRIVATE_DEVPROP + 8);
WIA_WSD_SCAN_AVAILABLE_ITEM_STR = WIA_DPS_SCAN_AVAILABLE_ITEM_STR;
implementation
end.