-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjs-binding.d.ts
33 lines (31 loc) · 1.07 KB
/
js-binding.d.ts
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
/* tslint:disable */
/* eslint-disable */
/* auto-generated by NAPI-RS */
export const enum RegistryType {
RegNone = 'RegNone',
RegSz = 'RegSz',
RegExpandSz = 'RegExpandSz',
RegBinary = 'RegBinary',
RegDword = 'RegDword',
RegDwordBigEndian = 'RegDwordBigEndian',
RegLink = 'RegLink',
RegMultiSz = 'RegMultiSz',
RegResourceList = 'RegResourceList',
RegFullResourceDescriptor = 'RegFullResourceDescriptor',
RegResourceRequirementsList = 'RegResourceRequirementsList',
RegQword = 'RegQword'
}
export interface RegistryItemValue {
rawValue: Buffer
vtype: RegistryType
}
export interface RegistryItem {
exists: boolean
keys: Array<string>
values: Record<string, RegistryItemValue>
}
export function list(keys: string | Array<string>): Record<string, RegistryItem>
export function createKey(keys: string | Array<string>): void
export function putValue(putCollection: Record<string, Record<string, RegistryItemValue>>): void
export function deleteKey(keys: string | Array<string>): void
export function deleteValue(deleteCollection: Record<string, Array<string>>): void