@bun-win32/propsys 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI.md +71 -0
- package/README.md +73 -0
- package/index.ts +4 -0
- package/package.json +57 -0
- package/structs/Propsys.ts +1432 -0
- package/types/Propsys.ts +151 -0
package/types/Propsys.ts
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { Pointer } from 'bun:ffi';
|
|
2
|
+
|
|
3
|
+
export type { BOOL, DWORD, HINSTANCE, HRESULT, HWND, INT, LONG, LPBOOL, LPCWSTR, LPDWORD, LPVOID, LPWSTR, NULL, SHORT, UINT, ULONG, USHORT } from '@bun-win32/core';
|
|
4
|
+
|
|
5
|
+
export enum GETPROPERTYSTOREFLAGS {
|
|
6
|
+
GPS_BESTEFFORT = 0x0000_0040,
|
|
7
|
+
GPS_DEFAULT = 0x0000_0000,
|
|
8
|
+
GPS_DELAYCREATION = 0x0000_0020,
|
|
9
|
+
GPS_EXTRINSICPROPERTIES = 0x0000_0200,
|
|
10
|
+
GPS_EXTRINSICPROPERTIESONLY = 0x0000_0400,
|
|
11
|
+
GPS_FASTPROPERTIESONLY = 0x0000_0008,
|
|
12
|
+
GPS_HANDLERPROPERTIESONLY = 0x0000_0001,
|
|
13
|
+
GPS_MASK_VALID = 0x0000_1fff,
|
|
14
|
+
GPS_NO_OPLOCK = 0x0000_0080,
|
|
15
|
+
GPS_OPENSLOWITEM = 0x0000_0010,
|
|
16
|
+
GPS_PREFERQUERYPROPERTIES = 0x0000_0100,
|
|
17
|
+
GPS_READWRITE = 0x0000_0002,
|
|
18
|
+
GPS_TEMPORARY = 0x0000_0004,
|
|
19
|
+
GPS_VOLATILEPROPERTIES = 0x0000_0800,
|
|
20
|
+
GPS_VOLATILEPROPERTIESONLY = 0x0000_1000,
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export enum PKA_FLAGS {
|
|
24
|
+
PKA_APPEND = 0x0000_0001,
|
|
25
|
+
PKA_DELETE = 0x0000_0002,
|
|
26
|
+
PKA_SET = 0x0000_0000,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export enum PROPDESC_ENUMFILTER {
|
|
30
|
+
PDEF_ALL = 0x0000_0000,
|
|
31
|
+
PDEF_COLUMN = 0x0000_0006,
|
|
32
|
+
PDEF_INFULLTEXTQUERY = 0x0000_0005,
|
|
33
|
+
PDEF_NONSYSTEM = 0x0000_0002,
|
|
34
|
+
PDEF_QUERYABLE = 0x0000_0004,
|
|
35
|
+
PDEF_SYSTEM = 0x0000_0001,
|
|
36
|
+
PDEF_VIEWABLE = 0x0000_0003,
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export enum PROPDESC_FORMAT_FLAGS {
|
|
40
|
+
PDFF_ALWAYSKB = 0x0000_0004,
|
|
41
|
+
PDFF_DEFAULT = 0x0000_0000,
|
|
42
|
+
PDFF_FILENAME = 0x0000_0002,
|
|
43
|
+
PDFF_HIDEDATE = 0x0000_0200,
|
|
44
|
+
PDFF_HIDETIME = 0x0000_0040,
|
|
45
|
+
PDFF_LONGDATE = 0x0000_0100,
|
|
46
|
+
PDFF_LONGTIME = 0x0000_0020,
|
|
47
|
+
PDFF_NOAUTOREADINGORDER = 0x0000_2000,
|
|
48
|
+
PDFF_PREFIXNAME = 0x0000_0001,
|
|
49
|
+
PDFF_READONLY = 0x0000_1000,
|
|
50
|
+
PDFF_RELATIVEDATE = 0x0000_0400,
|
|
51
|
+
PDFF_RESERVED_RIGHTTOLEFT = 0x0000_0008,
|
|
52
|
+
PDFF_SHORTDATE = 0x0000_0080,
|
|
53
|
+
PDFF_SHORTTIME = 0x0000_0010,
|
|
54
|
+
PDFF_USEEDITINVITATION = 0x0000_0800,
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export enum PROPVAR_CHANGE_FLAGS {
|
|
58
|
+
PVCHF_ALPHABOOL = 0x0000_0002,
|
|
59
|
+
PVCHF_DEFAULT = 0x0000_0000,
|
|
60
|
+
PVCHF_LOCALBOOL = 0x0000_0008,
|
|
61
|
+
PVCHF_NOHEXSTRING = 0x0000_0010,
|
|
62
|
+
PVCHF_NOUSEROVERRIDE = 0x0000_0004,
|
|
63
|
+
PVCHF_NOVALUEPROP = 0x0000_0001,
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export enum PROPVAR_COMPARE_FLAGS {
|
|
67
|
+
PVCF_DEFAULT = 0x0000_0000,
|
|
68
|
+
PVCF_DIGITSASNUMBERS_CASESENSITIVE = 0x0000_0020,
|
|
69
|
+
PVCF_TREATEMPTYASGREATERTHAN = 0x0000_0001,
|
|
70
|
+
PVCF_USESTRCMP = 0x0000_0002,
|
|
71
|
+
PVCF_USESTRCMPC = 0x0000_0004,
|
|
72
|
+
PVCF_USESTRCMPI = 0x0000_0008,
|
|
73
|
+
PVCF_USESTRCMPIC = 0x0000_0010,
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export enum PROPVAR_COMPARE_UNIT {
|
|
77
|
+
PVCU_DAY = 0x0000_0004,
|
|
78
|
+
PVCU_DEFAULT = 0x0000_0000,
|
|
79
|
+
PVCU_HOUR = 0x0000_0003,
|
|
80
|
+
PVCU_MINUTE = 0x0000_0002,
|
|
81
|
+
PVCU_MONTH = 0x0000_0005,
|
|
82
|
+
PVCU_SECOND = 0x0000_0001,
|
|
83
|
+
PVCU_YEAR = 0x0000_0006,
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export enum PSTIME_FLAGS {
|
|
87
|
+
PSTF_LOCAL = 0x0000_0001,
|
|
88
|
+
PSTF_UTC = 0x0000_0000,
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type BSTR = Pointer;
|
|
92
|
+
export type DOUBLE = number;
|
|
93
|
+
export type IDelayedPropertyStoreFactory = Pointer;
|
|
94
|
+
export type IPropertyBag = Pointer;
|
|
95
|
+
export type IPropertyDescription = Pointer;
|
|
96
|
+
export type IPropertySetStorage = Pointer;
|
|
97
|
+
export type IPropertyStore = Pointer;
|
|
98
|
+
export type IStream = bigint;
|
|
99
|
+
export type IUnknown = Pointer;
|
|
100
|
+
export type LONGLONG = bigint;
|
|
101
|
+
export type LPBSTR = Pointer;
|
|
102
|
+
export type LPCLSID = Pointer;
|
|
103
|
+
export type LPDOUBLE = Pointer;
|
|
104
|
+
export type LPFILETIME = Pointer;
|
|
105
|
+
export type LPGUID = Pointer;
|
|
106
|
+
export type LPINT = Pointer;
|
|
107
|
+
export type LPLONG = Pointer;
|
|
108
|
+
export type LPLONGLONG = Pointer;
|
|
109
|
+
export type LPLPBOOL = Pointer;
|
|
110
|
+
export type LPLPDOUBLE = Pointer;
|
|
111
|
+
export type LPLPFILETIME = Pointer;
|
|
112
|
+
export type LPLPLONG = Pointer;
|
|
113
|
+
export type LPLPLONGLONG = Pointer;
|
|
114
|
+
export type LPLPPWSTR = Pointer;
|
|
115
|
+
export type LPLPSERIALIZEDPROPERTYVALUE = Pointer;
|
|
116
|
+
export type LPLPSHORT = Pointer;
|
|
117
|
+
export type LPLPULONG = Pointer;
|
|
118
|
+
export type LPLPULONGLONG = Pointer;
|
|
119
|
+
export type LPLPUSHORT = Pointer;
|
|
120
|
+
export type LPLPVOID = Pointer;
|
|
121
|
+
export type LPLPWSTR = Pointer;
|
|
122
|
+
export type LPPCWSTR = Pointer;
|
|
123
|
+
export type LPPKA_FLAGS = Pointer;
|
|
124
|
+
export type LPPOINTL = Pointer;
|
|
125
|
+
export type LPPOINTS = Pointer;
|
|
126
|
+
export type LPPROPERTYKEY = Pointer;
|
|
127
|
+
export type LPPROPVARIANT = Pointer;
|
|
128
|
+
export type LPPWSTR = Pointer;
|
|
129
|
+
export type LPRECTL = Pointer;
|
|
130
|
+
export type LPSERIALIZEDPROPERTYVALUE = Pointer;
|
|
131
|
+
export type LPSHORT = Pointer;
|
|
132
|
+
export type LPSTREAM = Pointer;
|
|
133
|
+
export type LPSTRRET = Pointer;
|
|
134
|
+
export type LPULONG = Pointer;
|
|
135
|
+
export type LPULONGLONG = Pointer;
|
|
136
|
+
export type LPUNKNOWN = Pointer;
|
|
137
|
+
export type LPUSHORT = Pointer;
|
|
138
|
+
export type LPVARIANT = Pointer;
|
|
139
|
+
export type LPWORD = Pointer;
|
|
140
|
+
export type PCUITEMID_CHILD = Pointer;
|
|
141
|
+
export type PCUSERIALIZEDPROPSTORAGE = Pointer;
|
|
142
|
+
export type PCWSTR = Pointer;
|
|
143
|
+
export type PWSTR = Pointer;
|
|
144
|
+
export type REFCLSID = Pointer;
|
|
145
|
+
export type REFGUID = Pointer;
|
|
146
|
+
export type REFIID = Pointer;
|
|
147
|
+
export type REFPROPERTYKEY = Pointer;
|
|
148
|
+
export type REFPROPVARIANT = Pointer;
|
|
149
|
+
export type REFVARIANT = Pointer;
|
|
150
|
+
export type ULONGLONG = bigint;
|
|
151
|
+
export type VARTYPE = number;
|