win32 5.10.1
win32: ^5.10.1 copied to clipboard
Access common Win32 APIs directly from Dart using FFI — no C required!
Changelog #
All notable changes to this project will be documented in this file.
5.10.1 - 2025-01-27 #
🐛 Bug Fixes #
- fix: fix
PRINTER_ENUM_*constants by @halildurmus in #954 - fix:
nodocdeprecation fix by @weasdown in #949
⚙️ Miscellaneous Tasks #
- add
.gitattributesto normalize line endings by @halildurmus - tweak git-cliff configuration by @halildurmus
New Contributors ❤️ #
5.10.0 - 2025-01-01 #
5.9.0 - 2024-11-29 #
🚀 Features #
- (COM) Add more Core Audio interfaces (#937) - (2eaeef1)
- Add
GetWindowCompositionAttribute,SetWindowCompositionAttributeAPIs (#938) - (2081e94) - Deprecate
SCARD_SCOPE_SYSTEMconstant (#930) - (c6c2c5c)
🐛 Bug Fixes #
🧹 Refactor #
📝 Documentation #
- (website) Tweak commands - (2f75003)
- (website) Update contributing guide - (865d9ec)
- Update PUBLISHING.md - (18420d6)
⚙️ Miscellaneous Tasks #
5.8.0 - 2024-11-02 #
- Add
DISP_E_*constants - Add
argErroroptional parameter to theDispatcher.invokemethod, allowing retrieval of the index of the first parameter inrgvargthat encounters an error, if applicable - Update
Dispatcher.setto accept aPointer<VARIANT>for the value parameter - Add
byReferenceoptional named parameter to theDispatcher.setmethod, enabling property assignment by reference instead of by value
5.7.2 - 2024-10-28 #
- Add
DROPFILESstruct - Add
DragQueryFileAPI
5.7.1 - 2024-10-22 #
- Add
Pointer<VARIANT>optional parameter toDispatcher.invokemethod - Add
Dispatcher.fromCLSIDconstructor for creating aDispatcherfrom a CLSID
5.7.0 - 2024-10-19 #
- Add
UnregisterDeviceNotificationAPI (#916) - Add
DEV_BROADCAST_VOLUMEstruct - Add
DRIVE_UNKNOWN,DRIVE_NO_ROOT_DIR,DRIVE_REMOVABLE,DRIVE_FIXED,DRIVE_REMOTE,DRIVE_CDROM, andDRIVE_RAMDISKconstants - Add
Dispatcherclass, a thin wrapper around theIDispatchinterface, used for invoking methods and properties on COM automation objects
5.6.1 - 2024-10-18 #
- Add
RegisterDeviceNotification,WTSRegisterSessionNotification, andWTSUnRegisterSessionNotificationAPIs (#913) - Add
NOTIFY_FOR_THIS_SESSIONandNOTIFY_FOR_ALL_SESSIONSconstants (#913) - Add
DEV_BROADCAST_DEVICEINTERFACE_andDEV_BROADCAST_HDRstructures (#913) - Add
DEV_BROADCAST_HDR_DEVICE_TYPEenum (#913) - Add
GUID_CONSOLE_DISPLAY_STATE,WM_WTSESSION_CHANGE, andWTS_SESSION_*constants (#914)
5.6.0 - 2024-10-12 #
- Add
DISPLAY_DEVICE_STATE_FLAGSenum (#901) - Add
FILE_DEVICE_TYPEenum (#901) - Deprecate
SCARD_SCOPE_USERconstant in favor ofSCARD_SCOPE.SCARD_SCOPE_USER(#901) - Deprecate
SCARD_SCOPE_TERMINALconstant in favor ofSCARD_SCOPE.SCARD_SCOPE_TERMINAL(#901) - Deprecate
SYMFLAG_VALUEPRESENTconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_VALUEPRESENT(#901) - Deprecate
SYMFLAG_REGISTERconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_REGISTER(#901) - Deprecate
SYMFLAG_REGRELconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_REGREL(#901) - Deprecate
SYMFLAG_FRAMERELconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_FRAMEREL(#901) - Deprecate
SYMFLAG_PARAMETERconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_PARAMETER(#901) - Deprecate
SYMFLAG_LOCALconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_LOCAL(#901) - Deprecate
SYMFLAG_CONSTANTconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_CONSTANT(#901) - Deprecate
SYMFLAG_EXPORTconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_EXPORT(#901) - Deprecate
SYMFLAG_FORWARDERconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_FORWARDER(#901) - Deprecate
SYMFLAG_FUNCTIONconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_FUNCTION(#901) - Deprecate
SYMFLAG_VIRTUALconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_VIRTUAL(#901) - Deprecate
SYMFLAG_THUNKconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_THUNK(#901) - Deprecate
SYMFLAG_TLSRELconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_TLSREL(#901) - Deprecate
SYMFLAG_SLOTconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_SLOT(#901) - Deprecate
SYMFLAG_ILRELconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_ILREL(#901) - Deprecate
SYMFLAG_METADATAconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_METADATA(#901) - Deprecate
SYMFLAG_CLR_TOKENconstant in favor ofSYMBOL_INFO_FLAGS.SYMFLAG_CLR_TOKEN(#901) - Deprecate
SND_SYNCconstant in favor ofSND_FLAGS.SND_SYNC(#901) - Deprecate
SND_ASYNCconstant in favor ofSND_FLAGS.SND_ASYNC(#901) - Deprecate
SND_NODEFAULTconstant in favor ofSND_FLAGS.SND_NODEFAULT(#901) - Deprecate
SND_MEMORYconstant in favor ofSND_FLAGS.SND_MEMORY(#901) - Deprecate
SND_LOOPconstant in favor ofSND_FLAGS.SND_LOOP(#901) - Deprecate
SND_NOSTOPconstant in favor ofSND_FLAGS.SND_NOSTOP(#901) - Deprecate
SND_NOWAITconstant in favor ofSND_FLAGS.SND_NOWAIT(#901) - Deprecate
SND_ALIASconstant in favor ofSND_FLAGS.SND_ALIAS(#901) - Deprecate
SND_ALIAS_IDconstant in favor ofSND_FLAGS.SND_ALIAS_ID(#901) - Deprecate
SND_FILENAMEconstant in favor ofSND_FLAGS.SND_FILENAME(#901) - Deprecate
SND_RESOURCEconstant in favor ofSND_FLAGS.SND_RESOURCE(#901) - Deprecate
SND_PURGEconstant in favor ofSND_FLAGS.SND_PURGE(#901) - Deprecate
SND_APPLICATIONconstant in favor ofSND_FLAGS.SND_APPLICATION(#901) - Deprecate
SND_SENTRYconstant in favor ofSND_FLAGS.SND_SENTRY(#901) - Deprecate
SND_RINGconstant in favor ofSND_FLAGS.SND_RING(#901) - Deprecate
SND_SYSTEMconstant in favor ofSND_FLAGS.SND_SYSTEM(#901) - Deprecate
DISPLAY_DEVICE_MIRRORING_DRIVERconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_MIRRORING_DRIVER(#901) - Deprecate
DISPLAY_DEVICE_VGA_COMPATIBLEconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_VGA_COMPATIBLE(#901) - Deprecate
DISPLAY_DEVICE_REMOVABLEconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_REMOVABLE(#901) - Deprecate
DISPLAY_DEVICE_MODESPRUNEDconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_MODESPRUNED(#901) - Deprecate
DISPLAY_DEVICE_ACTIVEconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_ACTIVE(#901) - Deprecate
DISPLAY_DEVICE_PRIMARY_DEVICEconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_PRIMARY_DEVICE(#901) - Deprecate
WDA_NONEconstant in favor ofWINDOW_DISPLAY_AFFINITY.WDA_NONE(#901) - Deprecate
WDA_MONITORconstant in favor ofWINDOW_DISPLAY_AFFINITY.WDA_MONITOR(#901) - Deprecate
WDA_EXCLUDEFROMCAPTUREconstant in favor ofWINDOW_DISPLAY_AFFINITY.WDA_EXCLUDEFROMCAPTURE(#901) - Deprecate
WAVE_FORMAT_QUERYconstant in favor ofMIDI_WAVE_OPEN_TYPE.WAVE_FORMAT_QUERY(#901) - Deprecate
WAVE_ALLOWSYNCconstant in favor ofMIDI_WAVE_OPEN_TYPE.WAVE_ALLOWSYNC(#901) - Deprecate
WAVE_MAPPEDconstant in favor ofMIDI_WAVE_OPEN_TYPE.WAVE_MAPPED(#901) - Deprecate
WAVE_FORMAT_DIRECTconstant in favor ofMIDI_WAVE_OPEN_TYPE.WAVE_FORMAT_DIRECT(#901) - Deprecate
WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICEconstant in favor ofMIDI_WAVE_OPEN_TYPE.WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE(#901) - Deprecate
VARIANT_NOVALUEPROPconstant in favor ofVAR_CHANGE_FLAGS.VARIANT_NOVALUEPROP(#901) - Deprecate
VARIANT_ALPHABOOLconstant in favor ofVAR_CHANGE_FLAGS.VARIANT_ALPHABOOL(#901) - Deprecate
VARIANT_NOUSEROVERRIDEconstant in favor ofVAR_CHANGE_FLAGS.VARIANT_NOUSEROVERRIDE(#901) - Deprecate
VARIANT_LOCALBOOLconstant in favor ofVAR_CHANGE_FLAGS.VARIANT_LOCALBOOL(#901) - Deprecate
NO_ERRORconstant in favor ofWIN32_ERROR.NO_ERROR(#901) - Deprecate
DISPLAY_DEVICE_ATTACHED_TO_DESKTOPconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_ATTACHED_TO_DESKTOP(#901) - Deprecate
DISPLAY_DEVICE_ATTACHEDconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_ATTACHED(#901) - Deprecate
DISPLAY_DEVICE_MULTI_DRIVERconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_MULTI_DRIVER(#901) - Deprecate
DISPLAY_DEVICE_ACC_DRIVERconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_ACC_DRIVER(#901) - Deprecate
DISPLAY_DEVICE_UNSAFE_MODES_ONconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_UNSAFE_MODES_ON(#901) - Deprecate
DISPLAY_DEVICE_TS_COMPATIBLEconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_TS_COMPATIBLE(#901) - Deprecate
DISPLAY_DEVICE_RDPUDDconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_RDPUDD(#901) - Deprecate
DISPLAY_DEVICE_REMOTEconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_REMOTE(#901) - Deprecate
DISPLAY_DEVICE_DISCONNECTconstant in favor ofDISPLAY_DEVICE_STATE_FLAGS.DISPLAY_DEVICE_DISCONNECT(#901) - Deprecate
PRODUCT_UNDEFINEDconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_UNDEFINED(#901) - Deprecate
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT(#901) - Deprecate
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL(#901) - Deprecate
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVCconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC(#901) - Deprecate
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVCconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC(#901) - Deprecate
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_COREconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE(#901) - Deprecate
PRODUCT_CLUSTER_SERVER_Vconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_CLUSTER_SERVER_V(#901) - Deprecate
PRODUCT_STARTER_Econstant in favor ofOS_PRODUCT_TYPE.PRODUCT_STARTER_E(#901) - Deprecate
PRODUCT_HOME_BASIC_Econstant in favor ofOS_PRODUCT_TYPE.PRODUCT_HOME_BASIC_E(#901) - Deprecate
PRODUCT_HOME_PREMIUM_Econstant in favor ofOS_PRODUCT_TYPE.PRODUCT_HOME_PREMIUM_E(#901) - Deprecate
PRODUCT_PROFESSIONAL_Econstant in favor ofOS_PRODUCT_TYPE.PRODUCT_PROFESSIONAL_E(#901) - Deprecate
PRODUCT_ENTERPRISE_Econstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_E(#901) - Deprecate
PRODUCT_ULTIMATE_Econstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ULTIMATE_E(#901) - Deprecate
PRODUCT_ENTERPRISE_EVALUATIONconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_EVALUATION(#901) - Deprecate
PRODUCT_MULTIPOINT_STANDARD_SERVERconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_MULTIPOINT_STANDARD_SERVER(#901) - Deprecate
PRODUCT_MULTIPOINT_PREMIUM_SERVERconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_MULTIPOINT_PREMIUM_SERVER(#901) - Deprecate
PRODUCT_STANDARD_EVALUATION_SERVERconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_STANDARD_EVALUATION_SERVER(#901) - Deprecate
PRODUCT_DATACENTER_EVALUATION_SERVERconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_DATACENTER_EVALUATION_SERVER(#901) - Deprecate
PRODUCT_ENTERPRISE_N_EVALUATIONconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_N_EVALUATION(#901) - Deprecate
PRODUCT_STORAGE_WORKGROUP_EVALUATION_SERVERconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_STORAGE_WORKGROUP_EVALUATION_SERVER(#901) - Deprecate
PRODUCT_STORAGE_STANDARD_EVALUATION_SERVERconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_STORAGE_STANDARD_EVALUATION_SERVER(#901) - Deprecate
PRODUCT_CORE_Nconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_CORE_N(#901) - Deprecate
PRODUCT_CORE_COUNTRYSPECIFICconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_CORE_COUNTRYSPECIFIC(#901) - Deprecate
PRODUCT_CORE_SINGLELANGUAGEconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_CORE_SINGLELANGUAGE(#901) - Deprecate
PRODUCT_COREconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_CORE(#901) - Deprecate
PRODUCT_PROFESSIONAL_WMCconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_PROFESSIONAL_WMC(#901) - Deprecate
PRODUCT_EDUCATIONconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_EDUCATION(#901) - Deprecate
PRODUCT_EDUCATION_Nconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_EDUCATION_N(#901) - Deprecate
PRODUCT_IOTUAPconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_IOTUAP(#901) - Deprecate
PRODUCT_ENTERPRISE_Sconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_S(#901) - Deprecate
PRODUCT_ENTERPRISE_S_Nconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_S_N(#901) - Deprecate
PRODUCT_ENTERPRISE_S_EVALUATIONconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_S_EVALUATION(#901) - Deprecate
PRODUCT_ENTERPRISE_S_N_EVALUATIONconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ENTERPRISE_S_N_EVALUATION(#901) - Deprecate
PRODUCT_DATACENTER_A_SERVER_COREconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_DATACENTER_A_SERVER_CORE(#901) - Deprecate
PRODUCT_STANDARD_A_SERVER_COREconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_STANDARD_A_SERVER_CORE(#901) - Deprecate
PRODUCT_PRO_WORKSTATIONconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_PRO_WORKSTATION(#901) - Deprecate
PRODUCT_PRO_WORKSTATION_Nconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_PRO_WORKSTATION_N(#901) - Deprecate
PRODUCT_ANDROMEDAconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_ANDROMEDA(#901) - Deprecate
PRODUCT_XBOX_NATIVEOSconstant in favor ofOS_PRODUCT_TYPE.PRODUCT_XBOX_NATIVEOS(#901) - Deprecate
FILE_DEVICE_CD_ROMconstant in favor ofFILE_DEVICE_TYPE.FILE_DEVICE_CD_ROM(#901) - Deprecate
FILE_DEVICE_DISKconstant in favor ofFILE_DEVICE_TYPE.FILE_DEVICE_DISK(#901) - Deprecate
FILE_DEVICE_DVDconstant in favor ofFILE_DEVICE_TYPE.FILE_DEVICE_DVD(#901) - Deprecate
FILE_DEVICE_TAPEconstant in favor ofFILE_DEVICE_TYPE.FILE_DEVICE_TAPE(#901) - Deprecate
MIM_OPENconstant in favor ofMM_MIM_OPEN(#902) - Deprecate
MIM_CLOSEconstant in favor ofMM_MIM_CLOSE(#902) - Deprecate
MIM_DATAconstant in favor ofMM_MIM_DATA(#902) - Deprecate
MIM_LONGDATAconstant in favor ofMM_MIM_LONGDATA(#902) - Deprecate
MIM_ERRORconstant in favor ofMM_MIM_ERROR(#902) - Deprecate
MIM_LONGERRORconstant in favor ofMM_MIM_LONGERROR(#902) - Deprecate
MOM_OPENconstant in favor ofMM_MOM_OPEN(#902) - Deprecate
MOM_CLOSEconstant in favor ofMM_MOM_CLOSE(#902) - Deprecate
MOM_DONEconstant in favor ofMM_MOM_DONE(#902) - Deprecate
MIM_MOREDATAconstant in favor ofMM_MIM_MOREDATA(#902) - Deprecate
MOM_POSITIONCBconstant in favor ofMM_MOM_POSITIONCB(#902) - Add
isComInitializedgetter (#903) - Deprecate
isCOMInitializedgetter in favor ofisComInitialized(#903) - You can automatically migrate your code to use the new constants and
properties by running
dart fix --applyin your terminal. - Add
IsPropVariantString,PropVariantToStrRet, andPropVariantToStringWithDefaultAPIs (#904) - Add
SafeArrayAccessData,SafeArrayCreateVector,SafeArrayDestroy, andSafeArrayUnaccessDataAPIs (#905, thanks to @aweinber) - Add remaining
SafeArray*APIs (#906) - Add
SHGetLocalizedNameAPI (#908)
5.5.5 - 2024-10-02 #
- Add
BITMAPV5HEADERstruct (#892) - Add
SetClassLongPtrAPI (#899, thanks to @aweinber) - Bump minimum required Dart version to
3.5.0
5.5.4 - 2024-08-12 #
- Optimize
BSTR.fromStringconstructor (#879) - Fix
GUID_DEVCLASS_*constants (#881)
5.5.3 - 2024-07-31 #
- Fix issue preventing the
README.mdfrom being displayed on pub.flutter-io.cn
5.5.2 - 2024-07-31 #
- Add some service constants (#858)
- Add Service Manager CLI example (#859)
- Add Task Manager App example (#860)
5.5.1 - 2024-05-15 #
- Migrate away from
UnmodifiableUint8ListView(#850) - Bump minimum required Dart version to
3.4.0(#850) - Bump
lintsdependency to4.0.0(#851)
5.5.0 - 2024-04-25 #
- Add
BLOB,BSTRBLOB,CABOOL,CABSTR,CABSTRBLOB,CAC,CACLIPDATA,CACLSID,CACY,CADATE,CADBL,CAFILETIME,CAFLT,CAH,CAI,CAL,CALPSTR,CALPWSTR,CAPROPVARIANT,CASCODE,CAUB,CAUH,CAUI,CAUL,CLIPDATA, andVERSIONEDSTREAMstructures (#845) - Add
VARIANT_BOOLtypedef (#845) - Fix the Dart representation of the
PROPVARIANTstructure (#845) - Add
PropVariantInitandPropVariantClearAPIs (#845)
5.4.0 - 2024-03-30 #
-
Fix constant values
ERROR_SERVICE_NOT_ACTIVE,KF_FLAG_ALIAS_ONLY,QS_INPUT,STD_INPUT_HANDLE,STD_OUTPUT_HANDLE,STD_ERROR_HANDLE,UIA_ItemTypePropertyId, andUIA_OrientationPropertyId(#832) -
Introduce Win32 enumerations as extension types based on
int(#832) -
Deprecate constants for the Win32 enumerations in favor of the newly introduced extension types. For example, replace the usage of
ERROR_SUCCESSwithWIN32_ERROR.ERROR_SUCCESS(#832) -
Deprecate constant values
WBEM_TIMEOUT_TYPE.WBEM_NO_WAITandWBEM_TIMEOUT_TYPE.WBEM_INFINITEin favor of the newly introduced constantsWBEM_NO_WAITandWBEM_INFINITE(#833)You can automatically migrate your code to use the new constants by running
dart fix --applyin your terminal.
5.3.0 - 2024-03-08 #
- Migrate away from
.elementAtin favor ofoperator +(#825) - Bump minimum required Dart version to
3.3.0(#825) - Deprecate
CallWndProctypedef in favor ofHOOKPROC(#826) - Deprecate
CCHookProctypedef in favor ofLPCCHOOKPROC(#826) - Deprecate
CFHookProctypedef in favor ofLPCFHOOKPROC(#826) - Deprecate
DlgProctypedef in favor ofDLGPROC(#826) - Deprecate
DrawStateProctypedef in favor ofDRAWSTATEPROC(#826) - Deprecate
DrawTextCallbacktypedef in favor ofDTT_CALLBACK_PROC(#826) - Deprecate
EnumPageFilesProctypedef in favor ofPENUM_PAGE_FILE_CALLBACK(#826) - Deprecate
EnumFontFamExProctypedef in favor ofFONTENUMPROC(#826) - Deprecate
EnumResNameProctypedef in favor ofENUMRESNAMEPROC(#826) - Deprecate
EnumResTypeProctypedef in favor ofENUMRESTYPEPROC(#826) - Deprecate
EnumWindowsProctypedef in favor ofWNDENUMPROC(#826) - Deprecate
ExcepInfoProctypedef in favor ofLPEXCEPFINO_DEFERRED_FILLIN(#826) - Deprecate
FRHookProctypedef in favor ofLPFRHOOKPROC(#826) - Deprecate
HandlerRoutinetypedef in favor ofPHANDLER_ROUTINE(#826) - Deprecate
LphandlerFunctiontypedef in favor ofLPHANDLER_FUNCTION(#826) - Deprecate
LphandlerFunctionExtypedef in favor ofLPHANDLER_FUNCTION_EX(#826) - Deprecate
LpoverlappedCompletionRoutinein favor ofLPOVERLAPPED_COMPLETION_ROUTINE(#826) - Deprecate
LpserviceMainFunctionwin favor ofLPSERVICE_MAIN_FUNCTION(#826) - Deprecate
MidiInProctypedef in favor ofMIDIINPROC(#826) - Deprecate
MidiOutProctypedef in favor ofMIDIOUTPROC(#826) - Deprecate
MonitorEnumProctypedef in favor ofMONITORENUMPROC(#826) - Deprecate
OFNHookProctypedef in favor ofLPOFNHOOKPROC(#826) - Deprecate
OpenCardCheckProctypedef in favor ofLPOCNCHKPROC(#826) - Deprecate
OpenCardConnProctypedef in favor ofLPOCNCONNPROC(#826) - Deprecate
OpenCardDisconnProctypedef in favor ofLPOCNDSCPROC(#826) - Deprecate
OutputProctypedef in favor ofGRAYSTRINGPROC(#826) - Deprecate
PfnAuthenticationCallbackExin favor ofPFN_AUTHENTICATION_CALLBACK_EX(#826) - Deprecate
PfnbluetoothGattEventCallbackin favor ofPFN_BLUETOOTH_GATT_EVENT_CALLBACK(#826) - Deprecate
PfnBluetoothEnumAttributesCallbackin favor ofPFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK(#826) - Deprecate
PfnDeviceCallbacktypedef in favor ofPFN_DEVICE_CALLBACK(#826) - Deprecate
PfnScNotifyCallbackFunctionin favor ofPFN_SC_NOTIFY_CALLBACK(#826) - Deprecate
SendAsyncProctypedef in favor ofSENDASYNCPROC(#826) - Deprecate
SpNotifyCallbacktypedef in favor ofSPNOTIFYCALLBACK(#826) - Deprecate
SubclassProctypedef in favor ofSUBCLASSPROC(#826) - Deprecate
SymEnumSymbolsProcin favor ofPSYM_ENUMERATESYMBOLS_CALLBACK(#826) - Deprecate
TaskDialogCallbackProctypedef in favor ofPFTASKDIALOGCALLBACK(#826) - Deprecate
ThreadProctypedef in favor ofLPTHREAD_START_ROUTINE(#826) - Deprecate
TimerProctypedef in favor ofTIMERPROC(#826) - Deprecate
WindowProctypedef in favor ofWNDPROC(#826) - Deprecate
WlanNotificationCallbackin favor ofWLAN_NOTIFICATION_CALLBACK(#826) - Note: You can automatically migrate your code to use the new typedefs by
running
dart fix --applyin your terminal. - Deprecate
convertFromHStringfunction (#829) - Deprecate
convertToHStringfunction (#829) - Deprecate
getClassNamefunction (#829) - Deprecate
getInterfacesfunction (#829) - Deprecate
getTrustLevelfunction (#829) - Deprecate
Pointer<HSTRING>.toDartStringextension method (#829)
5.2.0 - 2024-01-04 #
- Migrate examples utilizing
Pointer.fromFunctionto useNativeCallable.isolateLocal(#798) - Add more WASAPI APIs, COM interfaces, and constants (#800)
- Generate missing documentation for certain COM interfaces (#806)
- Expose
SHCreateMemStreamAPI - Bump minimum Dart version requirement to
3.2.0
5.1.1 - 2023-12-01 #
- Fix dartdoc comment references (#787)
- Modernize
explorerexample (#789) - Add
NtQuerySystemInformationfunction (#790) - Add more SAPI interfaces and constants (#794)
5.1.0 - 2023-11-15 #
- Add
midiInAddBufferfunction (#763) - Add
MIDIERR_*constants (#764) - Add
IAgileObjectinterface (#767) - Add
refCountfunction (#768) - Add
ISpeechVoiceinterface (#776) - Bump minimum Dart version to
3.1.0
5.0.9 - 2023-09-26 #
- Add
GlobalAllocflags (#754) - Add more Windows Message constants (#755)
- Add Device Management events (#756)
5.0.8 - 2023-09-19 #
- Add
NetGetAadJoinInformationandNetFreeAadJoinInformationAPIs (#748, thanks to @solbirn) - Fix a bug in the
initAppfunction, which caused programs to crash when running AOT-compiled executables (#750) - Fix a bug in the
shell_notify_iconexample to ensure compatibility with Windows 11 (#752)
5.0.7 - 2023-08-24 #
- Add
MONITORINFOEXstruct (#743)
5.0.6 - 2023-07-25 #
- Fix the Dart representation of the
VARIANTstructure (#736)
5.0.5 - 2023-06-27 #
- Add
GetRestrictedErrorInfoandIRestrictedErrorInfo(#732)
5.0.4 - 2023-06-20 #
- Add
WinHttpRequestAPIs (#718) - Update the UI Automation example (#719)
- Fix projection of COM get properties (#720)
- Add
waveIn*APIs (#727)
5.0.3 - 2023-05-29 #
- Update the screenshot example to support multiple displays (#704, thanks to @ilopx)
- Add Windows UI Automation APIs (#711)
5.0.2 - 2023-05-16 #
- Add some additional user32 exports (#707, thanks to @ilopX)
- Add service management APIs (#709)
5.0.1 - 2023-05-15 #
- Add
IWebAuthenticationCoreManagerInterop(#702, thanks to @solbirn)
5.0.0 - 2023-05-11 #
-
Note: This package no longer supports 32-bit architectures. It assumes 64-bit.
-
[BREAKING CHANGE] Experimental WinRT APIs are now removed, in favor of the new
windows_*packages (see https://win32.pub for more information) 🎉 -
[BREAKING CHANGE]
Finalizeris now attached to COM objects. Therefore, you no longer need to call.release()to decrement the reference count, becauseFinalizerwill do it for you when they go out of scope (#691).Note: Calling
.release()withFinalizerattached may result in use after free and cause the process to crashNote: If you're manually managing the lifetime of the object, you need to call
.release()to decrement the reference count -
Add Windows metadata interfaces (
IMetaData*) -
Fixed memory leak in
convertToHString -
Upgrade to Dart 3 and add class modifiers to
Structsubclasses -
Added
detachmethod toIUnknown, which detaches the object fromFinalizerif you want to manually manage the lifetime of the object yourself (#677)
4.1.4 - 2023-05-05 #
- Add some minor network APIs
4.1.3 - 2023-04-12 #
- Add registry constants for win32_registry (#682)
4.1.2 - 2023-04-08 #
- Fix missing export of crypt32 APIs (#673)
- Fix a dartdoc comment reference (#666)
- Fix memory leak in
convertToHString
4.1.1 - 2023-01-30 #
- Convert acronyms in method/property names to lowercase (#649, @halildurmus)
- Mark methods/properties that return WinRT objects as nullable (#650, @halildurmus)
- Mark WinRT object parameters as nullable (#652, @halildurmus)
- Tidy up various samples (#653, @timsneath)
- Add missing display enumeration funcs (#662, @timsneath)
- Add job object APIs (#663, @timsneath)
4.1.0 - 2023-01-06 #
- Add low-level keyboard hook constants (#632, @timsneath)
- Add WinRT geolocation classes and example (#633, #635, @timsneath/@halildurmus)
- Convert acryonyms in enums, methods and properties to match Dart style guide (#637, #649, @halildurmus)
- Generalize map collection interfaces to support enum arguments (#638, @halildurmus)
- Add extra Bluetooth APIs (#640, @timsneath)
winrtInitializeandwinrtUninitializeare no longer required. Windows Runtime classes automatically activate the runtime as required for a given thread. Added example of interaction between Dart isolates and COM apartments (#642, @halildurmus/@timsneath)
4.0.1 - 2022-12-30 #
- Revert upper Dart SDK constraint update due to pub analyzer bug.
4.0.0 - 2022-12-30 #
- [BREAKING CHANGE] COM objects now inherit from
NativeFinalizer. Instead of directly releasing the memory allocated for them, you can now call.release()to decrement the reference count, and the memory will be automatically disposed when the refcount falls to zero (#623, @halildurmus) - Update examples for new COM release mechanism (#623, @halildurmus)
- Update to latest Win32 metadata (#626, @timsneath)
- Add APIs for processor / firmware information (#627, @timsneath)
- Add APIs for shell file operations (#630, @timsneath)
- Update upper Dart SDK constraint to explicitly support Dart 3
3.1.4 - 2023-04-08 #
- Fix missing export of crypt32 APIs
3.1.3 - 2022-12-17 #
- Restructure generator util to use JSON for all data files (#605, @timsneath)
- Add more K32* APIs (#607, @timsneath)
- Remove unnecessary nullability from HSTRINGs (#608, #615, @halildurmus)
- Add UISettings (#610, @halildurmus)
- Add doc comments for COM and WinRT classes (#611, @timsneath)
- Clean up generation of WinRT imports (#616, @halildurmus)
- Add VirtualQuery and VirtualQueryEx (#619, @Smotto)
- Add SetDisplayConfig (#621, @timsneath)
3.1.2 - 2022-11-25 #
- Support generating IIDs for parameterized types (#596)
- Clean up GUID implementations (#599)
- Wrap WinRT representations of GUID as Dart Guid (#602)
3.1.1 - 2022-11-08 #
- Fix documentation bug (@timsneath)
- Add URI support to the WinRT generator (@halildurmus)
3.1.0 - 2022-11-06 #
- Fixed memory leaks in COM and WinRT code when an exception is generated.
- Update to the latest Win32 metadata from Microsoft.
- [BREAKING CHANGE] The WinSock APIs now use upper cased naming for structs. For
example,
hostentis nowHOSTENT. This will only affect you if you explicitly importedwin32/winsock2.dart. - [BREAKING CHANGE] TouchInputParameters is now upper-cased in the metadata.
3.0.1 - 2022-10-14 #
- Improve projection of Map, Vector, and reference Windows Runtime types, with thanks as ever to Halil Durmus (@halildurmus).
- Add CryptoAPI functions (
CryptProtectData,CryptProtectMemoryetc.) - Add pointer and touch APIs
- Fix WinRT FilePicker demo
- Add raw printer API example
- Remove console example
console.dart(use https://pub.flutter-io.cn/packages/dart_console instead).
3.0.0 - 2022-08-30 #
- This release includes an overhaul of the COM and WinRT API generation, as described below. Apps and packages that call traditional Win32 APIs should not require changes, but apps that use COM or the highly-experimental WinRT APIs should expect to make changes.
- [BREAKING CHANGE] WinRT APIs have been moved to a separate library. This
provides isolation for apps that only use traditional APIs (Win32/COM) from
the more experimental WinRT APIs. To use WinRT from your code, change your
import statement to
import 'package:win32/winrt.dart';. The WinRT library also exports all Win32 APIs, so you don't have to import both libraries. - [BREAKING CHANGE] COM and Windows Runtime methods and properties are now camelCased, not TitleCased. This is inconvenient, but it avoids a whole class of name clashes and aligns COM and WinRT APIs more closely with Dart idioms. As the projections get smarter with more helpers, we think this is the right call for the future and worth a one-time tax to fix.
- [BREAKING CHANGE] You can now cast to a new COM interface without needing the IID for the target interface. Instead of:
final modalWindow = IModalWindow(fileDialog.toInterface(IID_IModalWindow));
write:
final modalWindow = IModalWindow.from(fileDialog);
- [BREAKING CHANGE] WinRT classes now support projection of
Lists andStrings directly. - [BREAKING CHANGE] The WinRT
fromPointermethod is nowfromRawPointer. GUIDFromStringnow supports an optional custom allocator parameter.- Added various APIs from iphlpapi.dll for tracking and renewing IP addresses.
- Added
DisableThreadLibraryCalls,FindStringOrdinal,GetConsoleCP,GetConsoleOutputCP,GetModuleHandleExW,GetNumberOfConsoleInputEvents,GetVolumeInformation,GetVolumeInformationByHandle,PeekConsoleInput,ReadConsoleInputW,SetErrorMode,SetThreadErrorMode,SizeofResourceAPIs from kernel32.dll - Added
GetClassFileAPI from ole32.dll - Added
SetupDiGetDeviceInstanceId,SetupDiGetDeviceRegistryPropertyWAPIs from setupapi.dll - Added
GetAltTabInfoW,GetClassNameW,GetGUIThreadInfoAPIs from user32.dll - Added various foundational WinRT types, including
IIterable,IIterator,IKeyValuePair,IMapView,IVector,IVectorView,IPropertyValue,IReference, with tremendous thanks again to @halildurmus, who has driven much of the recent WinRT work. - Major reworking of the WinRT generation code, thanks to @halildurmus.
2.7.0 - 2022-05-27 #
- [BREAKING CHANGE] Major work on Windows Runtime APIs, with huge thanks to
Halil Durmus (@halildurmus). Breaking changes are limited to WinRT APIs, which
are now more idiomatic for Dart. Includes full implementation of
Windows.Globalization.Calendarthat is the new reference design for WinRT APIs. - Restructure generation code into a separate package.
- Use super parameters introduced in Dart 2.17, with matching dependency upgrade.
- Tidy up examples to include consistent headers.
- All files now have lower case names (e.g. IUnknown.dart -> iunknown.dart)
2.6.1 - 2022-05-15 #
- Improve pana compliance
2.6.0 - 2022-05-15 #
- Add support for returning vectors from Windows Runtime APIs (#406, thanks to @halildurmus)
- Automatically convert Windows Runtime date properties to Dart DateTime equivalents (#418, thanks to @halildurmus)
- Add additional documentation on Windows Runtime APIs
- Update IDispatch sample to show how to supply parameters
- Add example for Windows Audio Session API (#422, thanks to @postacik)
- Fix an error with strings in structs (#425, thanks to @postacik)
- Update contributor documentation
2.5.2 - 2022-04-26 #
- Add example for monitor EDID data (#393, thanks to @krjw-eyev)
- Expand Bluetooth example (#397, thanks to @Sunbreak)
- Fix a comment typo (#398, thanks to @gaddlord)
- Improve fidelity of WinRT Calendar class and more tests (#396, #404, #405, #412 thanks to @halildurmus)
- Add additional spell checker COM interfaces
- Add example for an owner-draw (custom) titlebar
- Add new Wbem WMI interfaces
- Add example of WMI high-performance counters
- Add new theming APIs
- Update to latest Windows metadata (with a couple of minor changes to signed ints in MOUSEDATA and send()).
2.5.1 - 2022-03-31 #
- Add GetProcessTimes (#396, thanks to @halildurmus)
- Add device interface and device class GUIDs
- Add examples for Bluetooth LE and Setup APIs (#390, #392, thanks to @Sunbreak)
- Fix setup APIs to project HDEVINFO correctly
2.5.0 - 2022-03-28 #
- [BREAKING CHANGE] Use new projection tooling for WinRT classes. WinRT APIs are still in development and should be considered experimental; expect volatility as the projection tools mature and map types like String and DateTime, as well as WinRT primitives such as IVectorView, onto their Dart equivalents. (This doesn't affect COM and Win32 APIs, which can largely be considered stable, with the exception of changes to the underlying metadata exposed by Microsoft.)
- Add setupapi APIs, which were not being successfully projected. (#383, with thanks to @Sunbreak.) Add test to prevent that happening again.
- Add additional setup APIs (#386, with further thanks to @Sunbreak).
- Remove
tools/folder from published package to reduce download overhead.
2.4.4 - 2022-03-23 #
- Fix broken doc links.
2.4.3 - 2022-03-22 #
- Add Bluetooth LE APIs
2.4.2 - 2022-03-20 #
- Add speech API (SAPI) support and sample
- Add Windows Audio Session API (WASAPI) support
- Automate more struct generation
- Apply more lints to source code
- Add GetUserName and update sysinfo example
2.4.1 - 2022-02-17 #
- Fix import error for gamepad APIs
- Add gamepad example
2.4.0 - 2022-02-14 #
- Added various inline functions, tidied up projection logic.
2.3.11 - 2022-02-07 #
- Add gamepad APIs
2.3.10 - 2022-02-01 #
- Add DPI_AWARENESS_CONTEXT enum values.
2.3.9 - 2022-01-30 #
- Add a few minor constants and handle typedefs. Nothing to see here.
2.3.8 - 2022-01-21 #
- Update package:ffi minimum version to 1.1.0, allowing use of arena
- Hide
Charwithin generated structs.g.dart in prep for new FFI feature.
2.3.7 - 2022-01-21 #
- Declare platform support using new
platforms:declaration in pubspec.yaml - Update minimum version to Dart 2.15.0 and use constructor tearoffs
2.3.6 - 2022-01-17 #
- Add RegRenameKey.
2.3.5 - 2022-01-17 #
- Add FileTimeToSystemTime and SystemTimeToFileTime.
2.3.4 - 2022-01-16 #
- Added Windows Subsystem for Linux APIs (#342), with thanks to @ElMoribond. Add a new example that shows how to use them.
- Added SetEvent (#343) and CreateIcon (#344), with thanks to @untp.
- Add typedef for
HKEY. - Add more optional lints.
- Tweaked Explorer example.
2.3.3 - 2021-12-23 #
- Added CreateThread, CreateRemoteThread, CreateRemoteThreadEx() per request
- Added GetMachineTypeAttributes and added logic for Windows 11.
2.3.2 - 2021-12-21 #
- Added CreateDIBSection per request.
- Upgraded to latest published Windows metadata from Microsoft, which modifies the signature of some registry-related APIs from Int32 to Uint32 for better accuracy with the original API.
- Updated to the latest code generator, ported back from the v3 code.
2.3.1 - 2021-11-24 #
- Use automatic code generator for most structs. This may be a breaking change
if you use the Bluetooth APIs, since
BLUETOOTH_ADDRESS.rgBytesis now anArray<Uint8>instead of aList<int>. This is more accurate, but will require minor code change. - Add additional raw input constants
2.3.0 - 2021-11-12 #
- Completely overhauled the metadata generation tooling. The code is much better
structured, with each layer (type -> parameter -> method -> class) in its own
___Projectionclass. Fixed a number of errors in the process, such as the assumption that all enums are of typeUint32. - Rewrote several complex structs to use the new
UnionFFI type introduced in Dart 2.14 (and updated the minimum version accordingly). Code that uses theINPUTstruct will need to be slightly modified, since themi/ki/hifields are now nested rather than provided as an extension property. - Cleaned up some COM
Pointertypes to be more explicit. - Add raw input APIs
- Add low-level keyboard hooks example
2.2.10 - 2021-10-20 #
- Add Windows 11 rounded corner window support along with sample
- Add magnifier APIs and example
2.2.9 - 2021-09-06 #
- Add some missing GDI functions
2.2.8 - 2021-08-29 #
- Add Native Wifi APIs (#299)
2.2.7 - 2021-08-26 #
- Added ResetEvent and complete
OVERLAPPEDstruct (#295) - Added more virtual memory functions (#297)
2.2.6 - 2021-08-23 #
- Add some requested APIs thanks to contributions from @ilopX, in particular a new sample for enumerating locally installed printers.
- Added ExtractAssociatedIcon, with thanks to @halildurmus.
2.2.5 - 2021-07-05 #
- Add more DWM APIs, including
DwmSetWindowAttribute.
2.2.4 - 2021-06-24 #
- Add various DWM and subclassing APIs
2.2.3 - 2021-06-23 #
- Lazily evaluate
lookupFunctionFFI calls for improved performance. - Add APIs for hooks and a few extra kernel32 APIs
- Add some more tests.
2.2.2 - 2021-06-20 #
- Add Windows Spooler library support.
2.2.1 - 2021-06-19 #
- Add initial support for the Windows Socket library (winsock2).
2.2.0 - 2021-06-19 #
- Fixes convertToHString to return an int, since
HSTRINGs are handles. This is a breaking change for any apps that use WinRT APIs, but given the limited availability of WinRT classes that fall into this category, updating only the minor version. - Add low-level Device IO and structured storage APIs and diskinfo.dart sample.
2.1.5 - 2021-06-09 #
- Add smart card reader support.
2.1.4 - 2021-06-07 #
- Add helper functions for COM along with extra documentation.
2.1.3 - 2021-06-01 #
- Fix bug in shell COM APIs.
- Add examples for shortcut creation and named pipes.
2.1.2 - 2021-05-31 #
- Add serial port comms APIs
- Add additional shell COM APIs
2.1.1 - 2021-05-19 #
- Work around FFI regression in Dart master and dev builds.
2.1.0 - 2021-05-18 #
-
Upgrade to Dart 2.13, which supports packed structs and arrays in FFI. This enables support for more automated generation of structs, which in turn increases development velocity for this package.
-
Other APIs included in this release include:
- More complete Bluetooth support
- MIDI support
- High DPI support
IDispatchsupport- Many more core user32 APIs
2.0.5 - 2021-03-27 #
- Add some debugging APIs to allow enumerating exported symbols, along with a
sample (
dump.dart). - Free memory allocations in samples.
- Use latest version of Win32 metadata from winmd package, and generate most structs automatically using this metadata.
- Generate COM helper classes wherever metadata supports it, instead of requiring a manual decorator.
- Add about 20 new kernel32 APIs.
2.0.4 - 2021-03-14 #
- Add network events, thanks to a contribution from @sunbreak.
- Update COM vtable generation, thanks to a contribution from @bonukai.
- Update to use the latest WinMD package.
2.0.3 - 2021-03-12 #
- Add spellchecking COM APIs, thanks to a contribution from @bonukai.
2.0.2 - 2021-03-12 #
- Adds named pipe APIs to support projects like TerminalStudio/pty.
2.0.1 - 2021-03-12 #
- Adds a demo of custom window shapes.
- Removes Windows Metadata classes (now in the
winmdpackage). This is a breaking change, but it's not anticipated to be a problem since these classes are only used for code generation. - Update to latest WinMD package
- Add shell folder APIs
- Add registry key APIs
2.0.0 - 2021-02-12 #
- Stable version w/ sound null safety.
- Update to ffi 1.0.0 and address breaking changes.
- 100+ new APIs in kernel32, user32, ole32, advapi32, shell32 and gdi32, as well as a series of COM interfaces.
- Rework API wrapper to use functions instead of properties
- New JSON-based metadata format for Win32 APIs that supports API sets and minimum versions, and more robust tooling for loading and saving metadata
- Migrated Windows Runtime APIs into core unmanaged metadata
- Add waveOut* APIs from winmm.dll (thanks @slightfoot)
- Make VARIANT more representative of the underlying type.
- Add DLGTEMPLATE and DLGITEMTEMPLATE structs with extension methods.
- Add more tests.
- Add dialog box example and supporting extension methods
- New shell tray notification example (thanks @ilopX)
- Better documentation of constants and callbacks
1.7.4+1 - 2021-01-30 #
- Fix master -> main branch breaks
1.7.4 - 2020-11-14 #
- Add SysAllocString, SysFreeString, SysStringByteLen, SysStringLen, SHCreateItemFromParsingName
- Rename VARIANT_POINTER to VARIANT
1.7.3 - 2020-09-21 #
- Expand Win32 API documentation.
- New APIs:
- User32: ClipCursor, CopyIcon, DestroyIcon, DrawIcon, GetCursor, GetCursorPos, GetSystemMenu, SetMenuInfo, SetMenuItemInfo, ShowCursor
1.7.2+1 - 2020-09-20 #
- More documentation.
1.7.2 - 2020-09-19 #
- Add Win32 API documentation and a couple of minor APIs.
1.7.1 - 2020-09-17 #
- Add version information APIs and example.
1.7.0 - 2020-09-15 #
- Changed how the C-style APIs are generated. This should result in far better code smarts in your editor, as well as major improvements to the auto-generated documentation.
- Added many new APIs, including GetCurrentProcess and GetModuleFileName
1.6.10 - 2020-08-08 #
- New APIs
- Shell: LockWorkstation, SHEmptyRecycleBin, SHGetDiskFreeSpaceEx, SHGetDriveMedia, SHQueryRecycleBin, InitCommonControlsEx, DrawStatusText
- Add high-precision timing APIs: QueryPerformanceFrequency, QueryPerformanceCounter
- User32: SetParent, CreateWindow macro, MonitorFromPoint, SetWindowsLongPtr
- Kernel: Add SystemParametersInfo and related constants
- Kernel: Add EnumProcessModulesEx (thanks @Hexer10)
- Samples
- Add example of using app manifests to declare support for UAC permissions and Windows 10 opt-in behavior
- Windows Runtime metadata
- Greatly expand WinMD utility to generate APIs directly from Windows Metadata
- Autogenerate all Windows Runtime classes except ICalendar and IFileOpenPicker from metadata
- Code tidy up
- Add more tests
- Go through all the code with a stricter linter
- Update README with screenshots and examples
- Update Flutter Windows examples to the v4 template
1.6.9 - 2020-07-17 #
- Add credential management APIs (thanks @hpoul)
- Add battery and power management APIs
- Overhaul HRESULTs and add more tests
1.6.8 - 2020-07-08 #
- Add font enumeration example
- Experiment with hosting documentation on GitHub
1.6.7 - 2020-07-07 #
- Add basic registry checks
- Add initial Bluetooth discovery support
- Add a system information sample
- Guard tests so that they work on Windows 7
- Add some shell APIs and more tests
1.6.6 - 2020-07-04 #
- Add more process management APIs
- Add high level monitor configuration API
1.6.5 - 2020-07-02 #
- Add a broader array of console APIs
- Add a wallpaper example
1.6.4 - 2020-06-19 #
- Lots of documentation and linter cleanup
1.6.3 - 2020-06-18 #
- Add TaskDialog and dynamic library loading APIs
- Add dynamic load and Windows Runtime metadata samples
- Fix an annoying bug with
WindowsDeleteStringusage - Add more tests and restructure code
- More library-level documentation
- Add script for generating classes
1.6.2 - 2020-06-17 #
- Clean up some of the generated documentation
1.6.1 - 2020-06-17 #
- Lots of minor refactoring and tidy up
- Some early WinMD parsing
- Add many more unit tests
1.6.0 - 2020-06-10 #
- Add WinRT examples, including Windows.Globalization.Calendar and Windows.Storage.Pickers.FileOpenPicker
- Add various process management and kernel APIs: CloseHandle, EnumProcesses, EnumProcessModules, GetModuleBaseName, GetModuleFileNameExt, OpenProcess, ReadProcessMemory and WriteProcessMemory.
- Add modules.dart sample
- Lots of refactoring and tidy up work.
1.5.1 - 2020-06-04 #
- Add GetTempPath()
1.5.0 - 2020-06-04 #
- Use automated Dart tool to generate all COM classes
- Add IFileDialogCustomize, IShellItem2, IShellItemArray, IShellItemFilter
- Fill out all the class methods
- Fix some embarrassing bugs
1.4.2 - 2020-06-02 #
- Fix a few bugs
- Add support for desktop background management with IDesktopWallpaper
1.4.1 - 2020-06-01 #
- Expand COM support to include IShellItemArray and various WMI classes
1.4.0 - 2020-05-31 #
- Add COM support
- Add implementations for IOpenFileDialog, IFileDialog, IModalWindow, IShellItem, IUnknown
- Add common item dialog example
1.3.2 - 2020-05-03 #
- Add Snake GDI example
- Add PeekMessage, MoveTo, VirtualAlloc/Free, StretchDibBits, Beep
- Tidy up code and test
1.3.1 - 2020-05-02 #
- Add RegisterWindowMessage
- Fix bugs in ACCEL and FINDREPLACE structs
- Fix various bugs in Notepad example
1.3.0 - 2020-04-24 #
- Add notepad example
- Add 20+ new APIs for common dialogs, message sending, accelerators, menus, fonts and GDI object manipulation
- Fix APIs to be 32-bit safe
- Fix some minor bugs
1.2.6 - 2020-04-17 #
- Add window enumeration (FindWindowEx, EnumWindows, IsWindowVisible, GetWindowText, GetWindowTextLength) and example
1.2.5 - 2020-04-13 #
- Added Flutter example
- Added common dialog example
1.2.4 - 2020-04-12 #
- Added volume management APIs
1.2.3 - 2020-04-12 #
- Add scrolling APIs and example
- Add 'new' known folder API
- Add some basic unit tests
1.2.2 - 2020-04-01 #
- Add known folder plus GUID classes
1.2.1 - 2020-03-30 #
- Added SendInput, Sleep and ShellExecute
1.2.0 - 2020-03-30 #
- Implemented a good sample of GDI calls
- Added support for timers
- Added virtual keyboard constants
- Added a GDI paint sample
- Added a more comprehensive sample game (Tetris)
1.1.1 - 2020-03-28 #
- Add class styles
- Match recommended package structure per pub.flutter-io.cn
1.1.0 - 2020-03-27 #
- Added MessageBox and console APIs
1.0.0 - 2020-03-27 #
- Initial version



