Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

win32-def

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

win32-def - npm Package Compare versions

Comparing version 9.0.0 to 9.1.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [9.1.0](https://github.com/waitingsong/node-win32-api/compare/v9.0.0...v9.1.0) (2020-02-06)
### Features
* add user EnumDisplayDevicesW() ([9a9e321](https://github.com/waitingsong/node-win32-api/commit/9a9e3213d5bfa59a8b43f81c53b2aee41cec4568))
# [9.0.0](https://github.com/waitingsong/node-win32-api/compare/v8.0.0...v9.0.0) (2020-01-21)

@@ -8,0 +19,0 @@

4

dist/index.cjs.js

@@ -5,3 +5,3 @@ /**

*
* @version 8.0.0
* @version 9.0.0
* @author waiting

@@ -724,3 +724,3 @@ * @license MIT

*
* import * as Struct from 'ref-struct';
* import * as Struct from 'ref-struct-napi';
* import { DStruct as DS, DModel as M } from 'win32-api';

@@ -727,0 +727,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* @version 8.0.0
* @version 9.0.0
* @author waiting

@@ -720,3 +720,3 @@ * @license MIT

*
* import * as Struct from 'ref-struct';
* import * as Struct from 'ref-struct-napi';
* import { DStruct as DS, DModel as M } from 'win32-api';

@@ -723,0 +723,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* @version 8.0.0
* @version 9.0.0
* @author waiting

@@ -16,3 +16,3 @@ * @license MIT

*
* @version 8.0.0
* @version 9.0.0
* @author waiting

@@ -19,0 +19,0 @@ * @license MIT

/**
Complex structure see:
https://github.com/waitingsong/node-win32-api/blob/master/packages/win32-api/src/data-struct-ext/
*/
/**
* Struct usage:
*
* import * as Struct from 'ref-struct';
* import * as Struct from 'ref-struct-napi';
* import { DStruct as DS, DModel as M } from 'win32-api';

@@ -6,0 +10,0 @@ *

/* eslint-disable id-length */
// windows data types struct for ref-struct module https://github.com/TooTallNate/ref-struct
/**
Complex structure see:
https://github.com/waitingsong/node-win32-api/blob/master/packages/win32-api/src/data-struct-ext/
*/
import { parse_windef } from './helper';

@@ -10,3 +14,3 @@ import { macroMap } from './marcomap';

*
* import * as Struct from 'ref-struct';
* import * as Struct from 'ref-struct-napi';
* import { DStruct as DS, DModel as M } from 'win32-api';

@@ -13,0 +17,0 @@ *

@@ -21,2 +21,3 @@ /// <reference types="node" />

export declare type WCHAR = UINT16;
export declare type WCHAR_String = string;
export declare type WORD = INT16;

@@ -23,0 +24,0 @@ export declare type BOOL = number;

/// <reference types="node" />
import { ATOM, BYTE, DWORD, HANDLE, HBRUSH, HCURSOR, HICON, HINSTANCE, HWND, INT, LONG, LPARAM, LPCTSTR, UINT, ULONG, ULONG_PTR, USHORT, VOID, WNDPROC, WORD, WPARAM } from './common';
import { ATOM, BYTE, DWORD, HANDLE, HBRUSH, HCURSOR, HICON, HINSTANCE, HWND, INT, LONG, LPARAM, LPCTSTR, UINT, ULONG, ULONG_PTR, USHORT, VOID, WCHAR_String, WNDPROC, WORD, WPARAM } from './common';
/**

@@ -18,2 +18,14 @@ * Struct usage:

}
/** https://docs.microsoft.com/zh-cn/windows/win32/api/wingdi/ns-wingdi-display_devicew */
export declare type DISPLAY_DEVICEW = Buffer;
export declare type PDISPLAY_DEVICEW = DISPLAY_DEVICEW;
export declare type LPDISPLAY_DEVICEW = DISPLAY_DEVICEW;
export interface DISPLAY_DEVICEW_Struct extends StructInstanceBase {
cb: DWORD;
DeviceName: WCHAR_String;
DeviceString: WCHAR_String;
StateFlags: DWORD;
DeviceID: WCHAR_String;
DeviceKey: WCHAR_String;
}
/** https://docs.microsoft.com/en-us/windows/desktop/api/winuser/ns-winuser-taghardwareinput */

@@ -20,0 +32,0 @@ export declare type HARDWAREINPUT = Buffer;

{
"name": "win32-def",
"author": "waiting",
"version": "9.0.0",
"version": "9.1.0",
"description": "win32 definitions for node-ffi",

@@ -82,3 +82,3 @@ "keywords": [

},
"gitHead": "4bb8a46ed558ca06563ae931ed00799eb17b120b"
"gitHead": "31c46b63355d607edaa84ff45e0308260339b0d0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc