Comparing version 7.1.0 to 8.0.0
@@ -6,2 +6,16 @@ # Change Log | ||
# [8.0.0](https://github.com/waitingsong/node-win32-api/compare/v7.1.0...v8.0.0) (2020-01-10) | ||
* chore(win32-def)!: remove deprecated types ([99e1e5e](https://github.com/waitingsong/node-win32-api/commit/99e1e5e4a4f49e4841100cdbefef6f119dd0ff09)) | ||
### BREAKING CHANGES | ||
* remove deprecated types | ||
# [7.1.0](https://github.com/waitingsong/node-win32-api/compare/v7.0.2...v7.1.0) (2020-01-10) | ||
@@ -8,0 +22,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 7.0.0 | ||
* @version 7.1.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 7.0.0 | ||
* @version 7.1.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 7.0.0 | ||
* @version 7.1.0 | ||
* @author waiting | ||
@@ -16,3 +16,3 @@ * @license MIT | ||
* | ||
* @version 7.0.0 | ||
* @version 7.1.0 | ||
* @author waiting | ||
@@ -19,0 +19,0 @@ * @license MIT |
/// <reference types="node" /> | ||
import { Push } from '@waiting/shared-types'; | ||
import { BigIntStr, Push } from '@waiting/shared-types'; | ||
export declare type MacroParam<T> = T | [T, T, T]; | ||
@@ -100,3 +100,3 @@ export declare type MacroDef = [string, string, string]; | ||
} | ||
export declare type SyncFnModel = (...args: any[]) => boolean | number | Buffer | void; | ||
export declare type SyncFnModel = (...args: any[]) => boolean | number | BigIntStr | Buffer | void; | ||
export interface AsyncSyncFuncModel { | ||
@@ -103,0 +103,0 @@ async: (...args: any[]) => void; |
/// <reference types="node" /> | ||
import { BigIntStr } from '@waiting/shared-types'; | ||
export declare type _POINTER = Buffer; | ||
export declare type ATOM = number; | ||
export declare type DWORD = number; | ||
export declare type PVOID = number; | ||
export declare type PVOID = Buffer; | ||
export declare type HANDLE = Buffer; | ||
export declare type LONG_PTR = number; | ||
export declare type ULONG_PTR = number; | ||
export declare type LONG_PTR = number | BigIntStr; | ||
export declare type ULONG_PTR = number | BigIntStr; | ||
export declare type VOID = number & Buffer & void; | ||
@@ -63,7 +64,7 @@ export declare type WCHAR = UINT16; | ||
export declare type INT = number; | ||
export declare type INT_PTR = number; | ||
export declare type INT_PTR = number | BigIntStr; | ||
export declare type INT8 = number; | ||
export declare type INT16 = number; | ||
export declare type INT32 = number; | ||
export declare type INT64 = number; | ||
export declare type INT64 = BigIntStr; | ||
export declare type LANGID = WORD; | ||
@@ -74,5 +75,5 @@ export declare type LCID = DWORD; | ||
export declare type LONG = number; | ||
export declare type LONGLONG = number; | ||
export declare type LONGLONG = BigIntStr; | ||
export declare type LONG32 = number; | ||
export declare type LONG64 = number; | ||
export declare type LONG64 = BigIntStr; | ||
export declare type LPARAM = LONG_PTR; | ||
@@ -167,11 +168,11 @@ export declare type LPBOOL = _POINTER; | ||
export declare type UINT = number; | ||
export declare type UINT_PTR = number; | ||
export declare type UINT_PTR = number | BigIntStr; | ||
export declare type UINT8 = number; | ||
export declare type UINT16 = number; | ||
export declare type UINT32 = number; | ||
export declare type UINT64 = number; | ||
export declare type UINT64 = BigIntStr; | ||
export declare type ULONG = number; | ||
export declare type ULONGLONG = number; | ||
export declare type ULONGLONG = BigIntStr; | ||
export declare type ULONG32 = number; | ||
export declare type ULONG64 = number; | ||
export declare type ULONG64 = BigIntStr; | ||
export declare type UNICODE_STRING = _POINTER; | ||
@@ -178,0 +179,0 @@ export declare type USHORT = number; |
/* ---------- data types for TypeScript ----------- */ | ||
// https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types | ||
/* ------------------ struct ---------------------- */ | ||
// see src/lib/win-model/struct.ts |
@@ -33,3 +33,2 @@ /// <reference types="node" /> | ||
*/ | ||
export declare type InitCommonControlsEXStruct = INITCOMMONCONTROLSEX_Struct; | ||
/** https://docs.microsoft.com/en-us/windows/desktop/api/winuser/ns-winuser-tagkeybdinput */ | ||
@@ -68,3 +67,2 @@ export declare type KEYBDINPUT = Buffer; | ||
*/ | ||
export declare type MsgStruct = MSG_Struct; | ||
export declare type POINT = Buffer; | ||
@@ -78,3 +76,2 @@ export interface POINT_Struct extends StructInstanceBase { | ||
*/ | ||
export declare type PointStruct = POINT_Struct; | ||
/** https://docs.microsoft.com/en-us/windows/desktop/api/winuser/ns-winuser-tagrawhid */ | ||
@@ -125,3 +122,2 @@ export declare type RAWHID = Buffer; | ||
*/ | ||
export declare type WndClassEXStruct = WNDClASSEX_Struct; | ||
export declare type WINDOWINFO = Buffer; | ||
@@ -143,3 +139,2 @@ export interface WINDOWINFO_Struct extends StructInstanceBase { | ||
*/ | ||
export declare type WindowInfoStruct = WINDOWINFO_Struct; | ||
export declare type RECT = Buffer; | ||
@@ -155,3 +150,2 @@ export interface RECT_Struct extends StructInstanceBase { | ||
*/ | ||
export declare type RectStruct = RECT_Struct; | ||
export declare type FILETIME = Buffer; | ||
@@ -158,0 +152,0 @@ export interface FILETIME_Struct extends StructInstanceBase { |
{ | ||
"name": "win32-def", | ||
"author": "waiting", | ||
"version": "7.1.0", | ||
"version": "8.0.0", | ||
"description": "win32 definitions for node-ffi", | ||
@@ -82,3 +82,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "60017371f0299ddf09df66c96ec868ffd9dbee6d" | ||
"gitHead": "8d297dd50e8f2c9b67fa132f147a063ec2311cb5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
234477
3290