@aphrody/bun-windows-wldp 0.0.0-stage → 71.0.30-preview
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/family.json +1 -0
- package/index.d.ts +56 -0
- package/index.js +8 -0
- package/package.json +14 -4
- package/README.md +0 -3
package/family.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"family":"wldp","dll":"wldp.dll","metadata":"Microsoft.Windows.SDK.Win32Metadata 71.0.30-preview","namespaces":["System.WindowsProgramming"],"functions":{"WldpCanExecuteBuffer":["hr",["*s16:Foundation.GUID","i32","*u8","u32","w","*i32"],["host","options","buffer","bufferSize","auditInfo","result"],0],"WldpCanExecuteFile":["hr",["*s16:Foundation.GUID","i32","p","w","*i32"],["host","options","fileHandle","auditInfo","result"],0],"WldpCanExecuteFileFromDetachedSignature":["hr",["*s16:Foundation.GUID","i32","p","p","w","*i32"],["host","options","contentFileHandle","signatureFileHandle","auditInfo","result"],0],"WldpCanExecuteStream":["hr",["*s16:Foundation.GUID","i32","i:System.Com.IStream","w","*i32"],["host","options","stream","auditInfo","result"],0],"WldpGetApplicationSettingBoolean":["hr",["w","w","*i32"],["id","setting","result"],0],"WldpGetApplicationSettingStringList":["hr",["w","w","usize","*usize","w"],["id","setting","dataCount","requiredCount","result"],0],"WldpGetApplicationSettingStringSet":["hr",["w","w","usize","*usize","w"],["id","setting","dataCount","requiredCount","result"],0],"WldpGetLockdownPolicy":["hr",["*s24:System.WindowsProgramming.WLDP_HOST_INFORMATION","*u32","u32"],["hostInformation","lockdownState","lockdownFlags"],0],"WldpIsAppApprovedByPolicy":["hr",["w","u64"],["PackageFamilyName","PackageVersion"],0],"WldpIsClassInApprovedList":["hr",["*s16:Foundation.GUID","*s24:System.WindowsProgramming.WLDP_HOST_INFORMATION","*i32","u32"],["classID","hostInformation","isApproved","optionalFlags"],0],"WldpIsDynamicCodePolicyEnabled":["hr",["*i32"],["isEnabled"],0],"WldpIsProductionConfiguration":["hr",["*i32"],["IsProductionConfiguration"],0],"WldpIsWcosProductionConfiguration":["hr",["*i32"],["IsProductionConfiguration"],0],"WldpQueryDeviceSecurityInformation":["hr",["*s32:System.WindowsProgramming.WLDP_DEVICE_SECURITY_INFORMATION","u32","*u32"],["information","informationLength","returnLength"],0],"WldpQueryDynamicCodeTrust":["hr",["p","p","u32"],["fileHandle","baseImage","imageSize"],0],"WldpQueryPolicySettingEnabled":["hr",["i32","*i32"],["Setting","Enabled"],0],"WldpQueryPolicySettingEnabled2":["hr",["w","*i32"],["SettingString","Enabled"],0],"WldpQuerySecurityPolicy":["hr",["*s16:Foundation.UNICODE_STRING","*s16:Foundation.UNICODE_STRING","*s16:Foundation.UNICODE_STRING","*i32","p","*u32"],["providerName","keyName","valueName","valueType","valueAddress","valueSize"],0],"WldpQueryWindowsLockdownMode":["hr",["*i32"],["lockdownMode"],0],"WldpQueryWindowsLockdownRestriction":["hr",["*i32"],["LockdownRestriction"],0],"WldpResetProductionConfiguration":["hr",[],[],0],"WldpResetWcosProductionConfiguration":["hr",[],[],0],"WldpSetDynamicCodeTrust":["hr",["p"],["fileHandle"],0],"WldpSetWindowsLockdownRestriction":["hr",["i32"],["LockdownRestriction"],0]}}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Generated by scripts/aphrody/win32/gen.ts from Microsoft.Windows.SDK.Win32Metadata 71.0.30-preview. Do not edit.
|
|
2
|
+
import type { Win32Callback, Win32Family, Win32Pointer, Win32Struct, Win32StructInit } from "bun:windows";
|
|
3
|
+
|
|
4
|
+
interface Functions {
|
|
5
|
+
/** wldp.dll!WldpCanExecuteBuffer */
|
|
6
|
+
WldpCanExecuteBuffer(host: Win32Pointer, options: number, buffer: Win32Pointer, bufferSize: number, auditInfo: string | Win32Pointer, result: Win32Pointer): number;
|
|
7
|
+
/** wldp.dll!WldpCanExecuteFile */
|
|
8
|
+
WldpCanExecuteFile(host: Win32Pointer, options: number, fileHandle: Win32Pointer, auditInfo: string | Win32Pointer, result: Win32Pointer): number;
|
|
9
|
+
/** wldp.dll!WldpCanExecuteFileFromDetachedSignature */
|
|
10
|
+
WldpCanExecuteFileFromDetachedSignature(host: Win32Pointer, options: number, contentFileHandle: Win32Pointer, signatureFileHandle: Win32Pointer, auditInfo: string | Win32Pointer, result: Win32Pointer): number;
|
|
11
|
+
/** wldp.dll!WldpCanExecuteStream */
|
|
12
|
+
WldpCanExecuteStream(host: Win32Pointer, options: number, stream: Win32Pointer, auditInfo: string | Win32Pointer, result: Win32Pointer): number;
|
|
13
|
+
/** wldp.dll!WldpGetApplicationSettingBoolean */
|
|
14
|
+
WldpGetApplicationSettingBoolean(id: string | Win32Pointer, setting: string | Win32Pointer, result: Win32Pointer): number;
|
|
15
|
+
/** wldp.dll!WldpGetApplicationSettingStringList */
|
|
16
|
+
WldpGetApplicationSettingStringList(id: string | Win32Pointer, setting: string | Win32Pointer, dataCount: number | bigint, requiredCount: Win32Pointer, result: string | Win32Pointer): number;
|
|
17
|
+
/** wldp.dll!WldpGetApplicationSettingStringSet */
|
|
18
|
+
WldpGetApplicationSettingStringSet(id: string | Win32Pointer, setting: string | Win32Pointer, dataCount: number | bigint, requiredCount: Win32Pointer, result: string | Win32Pointer): number;
|
|
19
|
+
/** wldp.dll!WldpGetLockdownPolicy */
|
|
20
|
+
WldpGetLockdownPolicy(hostInformation: Win32Pointer, lockdownState: Win32Pointer, lockdownFlags: number): number;
|
|
21
|
+
/** wldp.dll!WldpIsAppApprovedByPolicy */
|
|
22
|
+
WldpIsAppApprovedByPolicy(PackageFamilyName: string | Win32Pointer, PackageVersion: number | bigint): number;
|
|
23
|
+
/** wldp.dll!WldpIsClassInApprovedList */
|
|
24
|
+
WldpIsClassInApprovedList(classID: Win32Pointer, hostInformation: Win32Pointer, isApproved: Win32Pointer, optionalFlags: number): number;
|
|
25
|
+
/** wldp.dll!WldpIsDynamicCodePolicyEnabled */
|
|
26
|
+
WldpIsDynamicCodePolicyEnabled(isEnabled: Win32Pointer): number;
|
|
27
|
+
/** wldp.dll!WldpIsProductionConfiguration */
|
|
28
|
+
WldpIsProductionConfiguration(IsProductionConfiguration: Win32Pointer): number;
|
|
29
|
+
/** wldp.dll!WldpIsWcosProductionConfiguration */
|
|
30
|
+
WldpIsWcosProductionConfiguration(IsProductionConfiguration: Win32Pointer): number;
|
|
31
|
+
/** wldp.dll!WldpQueryDeviceSecurityInformation */
|
|
32
|
+
WldpQueryDeviceSecurityInformation(information: Win32Pointer, informationLength: number, returnLength: Win32Pointer): number;
|
|
33
|
+
/** wldp.dll!WldpQueryDynamicCodeTrust */
|
|
34
|
+
WldpQueryDynamicCodeTrust(fileHandle: Win32Pointer, baseImage: Win32Pointer, imageSize: number): number;
|
|
35
|
+
/** wldp.dll!WldpQueryPolicySettingEnabled */
|
|
36
|
+
WldpQueryPolicySettingEnabled(Setting: number, Enabled: Win32Pointer): number;
|
|
37
|
+
/** wldp.dll!WldpQueryPolicySettingEnabled2 */
|
|
38
|
+
WldpQueryPolicySettingEnabled2(SettingString: string | Win32Pointer, Enabled: Win32Pointer): number;
|
|
39
|
+
/** wldp.dll!WldpQuerySecurityPolicy */
|
|
40
|
+
WldpQuerySecurityPolicy(providerName: Win32Pointer, keyName: Win32Pointer, valueName: Win32Pointer, valueType: Win32Pointer, valueAddress: Win32Pointer, valueSize: Win32Pointer): number;
|
|
41
|
+
/** wldp.dll!WldpQueryWindowsLockdownMode */
|
|
42
|
+
WldpQueryWindowsLockdownMode(lockdownMode: Win32Pointer): number;
|
|
43
|
+
/** wldp.dll!WldpQueryWindowsLockdownRestriction */
|
|
44
|
+
WldpQueryWindowsLockdownRestriction(LockdownRestriction: Win32Pointer): number;
|
|
45
|
+
/** wldp.dll!WldpResetProductionConfiguration */
|
|
46
|
+
WldpResetProductionConfiguration(): number;
|
|
47
|
+
/** wldp.dll!WldpResetWcosProductionConfiguration */
|
|
48
|
+
WldpResetWcosProductionConfiguration(): number;
|
|
49
|
+
/** wldp.dll!WldpSetDynamicCodeTrust */
|
|
50
|
+
WldpSetDynamicCodeTrust(fileHandle: Win32Pointer): number;
|
|
51
|
+
/** wldp.dll!WldpSetWindowsLockdownRestriction */
|
|
52
|
+
WldpSetWindowsLockdownRestriction(LockdownRestriction: number): number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const family: Win32Family & Functions;
|
|
56
|
+
export = family;
|
package/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Generated by scripts/aphrody/win32/gen.ts. Do not edit.
|
|
2
|
+
let metadata;
|
|
3
|
+
try {
|
|
4
|
+
metadata = require("@aphrody/bun-windows-win32");
|
|
5
|
+
} catch {
|
|
6
|
+
metadata = require("../bun-windows-win32/index.js");
|
|
7
|
+
}
|
|
8
|
+
module.exports = require("bun:windows").win32.defineFamily(require("./family.json"), metadata);
|
package/package.json
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aphrody/bun-windows-wldp",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "71.0.30-preview",
|
|
4
|
+
"description": "bun:windows Win32 family for wldp.dll, generated from Microsoft.Windows.SDK.Win32Metadata 71.0.30-preview",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"types": "index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.js",
|
|
10
|
+
"index.d.ts",
|
|
11
|
+
"family.json"
|
|
12
|
+
],
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@aphrody/bun-windows-win32": "71.0.30-preview"
|
|
15
|
+
}
|
|
16
|
+
}
|
package/README.md
DELETED