@aphrody/bun-windows-shell32 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 ADDED
@@ -0,0 +1 @@
1
+ {"family":"shell32","dll":"shell32.dll","metadata":"Microsoft.Windows.SDK.Win32Metadata 71.0.30-preview","namespaces":["UI.Shell","UI.Shell.PropertiesSystem"],"functions":{"AssocCreateForClasses":["hr",["*s24:UI.Shell.ASSOCIATIONELEMENT","u32","*s16:Foundation.GUID","p"],["rgClasses","cClasses","riid","ppv"],0],"AssocGetDetailsOfPropKey":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","*s20:Foundation.PROPERTYKEY","*s24:System.Variant.VARIANT","*i32"],["psf","pidl","pkey","pv","pfFoundPropKey"],0],"CDefFolderMenu_Create2":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","p","u32","**s3:UI.Shell.Common.ITEMIDLIST","i:UI.Shell.IShellFolder","f:UI.Shell.LPFNDFMCALLBACK","u32","p","*i:UI.Shell.IContextMenu"],["pidlFolder","hwnd","cidl","apidl","psf","pfn","nKeys","ahkeys","ppcm"],0],"CIDLData_CreateFromIDArray":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","u32","**s3:UI.Shell.Common.ITEMIDLIST","*i:System.Com.IDataObject"],["pidlFolder","cidl","apidl","ppdtobj"],0],"CommandLineToArgvW":["*w",["w","*i32"],["lpCmdLine","pNumArgs"],1],"DAD_AutoScroll":["i32",["p","*s48:UI.Shell.AUTO_SCROLL_DATA","*s8:Foundation.POINT"],["hwnd","pad","pptNow"],0],"DAD_DragEnterEx":["i32",["p","s8:Foundation.POINT"],["hwndTarget","ptStart"],0],"DAD_DragEnterEx2":["i32",["p","s8:Foundation.POINT","i:System.Com.IDataObject"],["hwndTarget","ptStart","pdtObject"],0],"DAD_DragLeave":["i32",[],[],0],"DAD_DragMove":["i32",["s8:Foundation.POINT"],["pt"],0],"DAD_SetDragImage":["i32",["isize","*s8:Foundation.POINT"],["him","pptOffset"],0],"DAD_ShowDragImage":["i32",["i32"],["fShow"],0],"DoEnvironmentSubstA":["u32",["a","u32"],["pszSrc","cchSrc"],0],"DoEnvironmentSubstW":["u32",["w","u32"],["pszSrc","cchSrc"],0],"DragAcceptFiles":["void",["p","i32"],["hWnd","fAccept"],0],"DragFinish":["void",["p"],["hDrop"],0],"DragQueryFileA":["u32",["p","u32","a","u32"],["hDrop","iFile","lpszFile","cch"],0],"DragQueryFileW":["u32",["p","u32","w","u32"],["hDrop","iFile","lpszFile","cch"],0],"DragQueryPoint":["i32",["p","*s8:Foundation.POINT"],["hDrop","ppt"],0],"DriveType":["i32",["i32"],["iDrive"],0],"DuplicateIcon":["p",["p","p"],["hInst","hIcon"],0],"ExtractAssociatedIconA":["p",["p","a","*u16"],["hInst","pszIconPath","piIcon"],0],"ExtractAssociatedIconExA":["p",["p","a","*u16","*u16"],["hInst","pszIconPath","piIconIndex","piIconId"],0],"ExtractAssociatedIconExW":["p",["p","w","*u16","*u16"],["hInst","pszIconPath","piIconIndex","piIconId"],0],"ExtractAssociatedIconW":["p",["p","w","*u16"],["hInst","pszIconPath","piIcon"],0],"ExtractIconA":["p",["p","a","u32"],["hInst","pszExeFileName","nIconIndex"],0],"ExtractIconExA":["u32",["a","i32","p","p","u32"],["lpszFile","nIconIndex","phiconLarge","phiconSmall","nIcons"],1],"ExtractIconExW":["u32",["w","i32","p","p","u32"],["lpszFile","nIconIndex","phiconLarge","phiconSmall","nIcons"],1],"ExtractIconW":["p",["p","w","u32"],["hInst","pszExeFileName","nIconIndex"],0],"FileIconInit":["i32",["i32"],["fRestoreCache"],0,"#660"],"FindExecutableA":["p",["a","a","a"],["lpFile","lpDirectory","lpResult"],0],"FindExecutableW":["p",["w","w","w"],["lpFile","lpDirectory","lpResult"],0],"GetCurrentProcessExplicitAppUserModelID":["hr",["*w"],["AppID"],0],"GetFileNameFromBrowse":["i32",["p","w","u32","w","w","w","w"],["hwnd","pszFilePath","cchFilePath","pszWorkingDir","pszDefExt","pszFilters","pszTitle"],0],"ILAppendID":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST","*s3:UI.Shell.Common.SHITEMID","i32"],["pidl","pmkid","fAppend"],0],"ILClone":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILCloneFirst":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILCombine":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST","*s3:UI.Shell.Common.ITEMIDLIST"],["pidl1","pidl2"],0],"ILCreateFromPathA":["*s3:UI.Shell.Common.ITEMIDLIST",["a"],["pszPath"],0],"ILCreateFromPathW":["*s3:UI.Shell.Common.ITEMIDLIST",["w"],["pszPath"],0],"ILFindChild":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST","*s3:UI.Shell.Common.ITEMIDLIST"],["pidlParent","pidlChild"],0],"ILFindLastID":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILFree":["void",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILGetNext":["*s3:UI.Shell.Common.ITEMIDLIST",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILGetSize":["u32",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILIsEqual":["i32",["*s3:UI.Shell.Common.ITEMIDLIST","*s3:UI.Shell.Common.ITEMIDLIST"],["pidl1","pidl2"],0],"ILIsParent":["i32",["*s3:UI.Shell.Common.ITEMIDLIST","*s3:UI.Shell.Common.ITEMIDLIST","i32"],["pidl1","pidl2","fImmediate"],0],"ILLoadFromStreamEx":["hr",["i:System.Com.IStream","**s3:UI.Shell.Common.ITEMIDLIST"],["pstm","pidl"],0],"ILRemoveLastID":["i32",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"ILSaveToStream":["hr",["i:System.Com.IStream","*s3:UI.Shell.Common.ITEMIDLIST"],["pstm","pidl"],0],"InitNetworkAddressControl":["i32",[],[],0],"IsLFNDriveA":["i32",["a"],["pszPath"],0],"IsLFNDriveW":["i32",["w"],["pszPath"],0],"IsNetDrive":["i32",["i32"],["iDrive"],0],"IsUserAnAdmin":["i32",[],[],0],"OpenRegStream":["i:System.Com.IStream",["p","w","w","u32"],["hkey","pszSubkey","pszValue","grfMode"],0],"PathCleanupSpec":["i32",["w","w"],["pszDir","pszSpec"],0],"PathGetShortPath":["void",["w"],["pszLongPath"],0],"PathIsExe":["i32",["w"],["pszPath"],0],"PathIsSlowA":["i32",["a","u32"],["pszFile","dwAttr"],0],"PathIsSlowW":["i32",["w","u32"],["pszFile","dwAttr"],0],"PathMakeUniqueName":["i32",["w","u32","w","w","w"],["pszUniqueName","cchMax","pszTemplate","pszLongPlate","pszDir"],0],"PathQualify":["void",["w"],["psz"],0],"PathResolve":["i32",["w","**u16","u32"],["pszPath","dirs","fFlags"],1],"PathYetAnotherMakeUniqueName":["i32",["w","w","w","w"],["pszUniqueName","pszPath","pszShort","pszFileSpec"],0],"PickIconDlg":["i32",["p","w","u32","*i32"],["hwnd","pszIconPath","cchIconPath","piIconIndex"],0],"PifMgr_CloseProperties":["p",["p","u32"],["hProps","flOpt"],0],"PifMgr_GetProperties":["i32",["p","a","p","i32","u32"],["hProps","pszGroup","lpProps","cbProps","flOpt"],0],"PifMgr_OpenProperties":["p",["w","w","u32","u32"],["pszApp","pszPIF","hInf","flOpt"],0],"PifMgr_SetProperties":["i32",["p","a","p","i32","u32"],["hProps","pszGroup","lpProps","cbProps","flOpt"],0],"ReadCabinetState":["i32",["*s12:UI.Shell.CABINETSTATE","i32"],["pcs","cLength"],0],"RealDriveType":["i32",["i32","i32"],["iDrive","fOKToHitNet"],0],"RestartDialog":["i32",["p","w","u32"],["hwnd","pszPrompt","dwReturn"],0],"RestartDialogEx":["i32",["p","w","u32","u32"],["hwnd","pszPrompt","dwReturn","dwReasonCode"],0],"SHAddDefaultPropertiesByExt":["hr",["w","i:UI.Shell.PropertiesSystem.IPropertyStore"],["pszExt","pPropStore"],0],"SHAddFromPropSheetExtArray":["u32",["p","f:UI.Controls.LPFNSVADDPROPSHEETPAGE","isize"],["hpsxa","lpfnAddPage","lParam"],0],"SHAddToRecentDocs":["void",["u32","p"],["uFlags","pv"],0],"SHAlloc":["p",["usize"],["cb"],0],"SHAppBarMessage":["usize",["u32","*s48:UI.Shell.APPBARDATA"],["dwMessage","pData"],0],"SHAssocEnumHandlers":["hr",["w","i32","*i:UI.Shell.IEnumAssocHandlers"],["pszExtra","afFilter","ppEnumHandler"],0],"SHAssocEnumHandlersForProtocolByApplication":["hr",["w","*s16:Foundation.GUID","p"],["protocol","riid","enumHandlers"],0],"SHBindToFolderIDListParent":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","*s16:Foundation.GUID","p","**s3:UI.Shell.Common.ITEMIDLIST"],["psfRoot","pidl","riid","ppv","ppidlLast"],0],"SHBindToFolderIDListParentEx":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","i:System.Com.IBindCtx","*s16:Foundation.GUID","p","**s3:UI.Shell.Common.ITEMIDLIST"],["psfRoot","pidl","ppbc","riid","ppv","ppidlLast"],0],"SHBindToObject":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","i:System.Com.IBindCtx","*s16:Foundation.GUID","p"],["psf","pidl","pbc","riid","ppv"],0],"SHBindToParent":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","*s16:Foundation.GUID","p","**s3:UI.Shell.Common.ITEMIDLIST"],["pidl","riid","ppv","ppidlLast"],0],"SHBrowseForFolderA":["*s3:UI.Shell.Common.ITEMIDLIST",["*s64:UI.Shell.BROWSEINFOA"],["lpbi"],0],"SHBrowseForFolderW":["*s3:UI.Shell.Common.ITEMIDLIST",["*s64:UI.Shell.BROWSEINFOW"],["lpbi"],0],"SHCLSIDFromString":["hr",["w","*s16:Foundation.GUID"],["psz","pclsid"],0],"SHChangeNotification_Lock":["p",["p","u32","***s3:UI.Shell.Common.ITEMIDLIST","*i32"],["hChange","dwProcId","pppidl","plEvent"],0],"SHChangeNotification_Unlock":["i32",["p"],["hLock"],0],"SHChangeNotify":["void",["i32","u32","p","p"],["wEventId","uFlags","dwItem1","dwItem2"],0],"SHChangeNotifyDeregister":["i32",["u32"],["ulID"],0],"SHChangeNotifyRegister":["u32",["p","i32","i32","u32","i32","*s12:UI.Shell.SHChangeNotifyEntry"],["hwnd","fSources","fEvents","wMsg","cEntries","pshcne"],0],"SHChangeNotifyRegisterThread":["void",["i32"],["status"],0],"SHCloneSpecialIDList":["*s3:UI.Shell.Common.ITEMIDLIST",["p","i32","i32"],["hwnd","csidl","fCreate"],0],"SHCoCreateInstance":["hr",["w","*s16:Foundation.GUID","i:System.Com.IUnknown","*s16:Foundation.GUID","p"],["pszCLSID","pclsid","pUnkOuter","riid","ppv"],0],"SHCreateAssociationRegistration":["hr",["*s16:Foundation.GUID","p"],["riid","ppv"],0],"SHCreateDataObject":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","u32","**s3:UI.Shell.Common.ITEMIDLIST","i:System.Com.IDataObject","*s16:Foundation.GUID","p"],["pidlFolder","cidl","apidl","pdtInner","riid","ppv"],0],"SHCreateDefaultContextMenu":["hr",["*s72:UI.Shell.DEFCONTEXTMENU","*s16:Foundation.GUID","p"],["pdcm","riid","ppv"],0],"SHCreateDefaultExtractIcon":["hr",["*s16:Foundation.GUID","p"],["riid","ppv"],0],"SHCreateDefaultPropertiesOp":["hr",["i:UI.Shell.IShellItem","*i:UI.Shell.IFileOperation"],["psi","ppFileOp"],0],"SHCreateDirectory":["i32",["p","w"],["hwnd","pszPath"],0],"SHCreateDirectoryExA":["i32",["p","a","*s24:Security.SECURITY_ATTRIBUTES"],["hwnd","pszPath","psa"],0],"SHCreateDirectoryExW":["i32",["p","w","*s24:Security.SECURITY_ATTRIBUTES"],["hwnd","pszPath","psa"],0],"SHCreateFileExtractIconW":["hr",["w","u32","*s16:Foundation.GUID","p"],["pszFile","dwFileAttributes","riid","ppv"],0],"SHCreateItemFromIDList":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","*s16:Foundation.GUID","p"],["pidl","riid","ppv"],0],"SHCreateItemFromParsingName":["hr",["w","i:System.Com.IBindCtx","*s16:Foundation.GUID","p"],["pszPath","pbc","riid","ppv"],0],"SHCreateItemFromRelativeName":["hr",["i:UI.Shell.IShellItem","w","i:System.Com.IBindCtx","*s16:Foundation.GUID","p"],["psiParent","pszName","pbc","riid","ppv"],0],"SHCreateItemInKnownFolder":["hr",["*s16:Foundation.GUID","u32","w","*s16:Foundation.GUID","p"],["kfid","dwKFFlags","pszItem","riid","ppv"],0],"SHCreateItemWithParent":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","*s16:Foundation.GUID","p"],["pidlParent","psfParent","pidl","riid","ppvItem"],0],"SHCreateProcessAsUserW":["i32",["*s88:UI.Shell.SHCREATEPROCESSINFOW"],["pscpi"],1],"SHCreatePropSheetExtArray":["p",["p","w","u32"],["hKey","pszSubKey","max_iface"],0],"SHCreateQueryCancelAutoPlayMoniker":["hr",["*i:System.Com.IMoniker"],["ppmoniker"],0],"SHCreateShellFolderView":["hr",["*s32:UI.Shell.SFV_CREATE","*i:UI.Shell.IShellView"],["pcsfv","ppsv"],0],"SHCreateShellFolderViewEx":["hr",["*s56:UI.Shell.CSFV","*i:UI.Shell.IShellView"],["pcsfv","ppsv"],0],"SHCreateShellItem":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","*i:UI.Shell.IShellItem"],["pidlParent","psfParent","pidl","ppsi"],0],"SHCreateShellItemArray":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","i:UI.Shell.IShellFolder","u32","**s3:UI.Shell.Common.ITEMIDLIST","*i:UI.Shell.IShellItemArray"],["pidlParent","psf","cidl","ppidl","ppsiItemArray"],0],"SHCreateShellItemArrayFromDataObject":["hr",["i:System.Com.IDataObject","*s16:Foundation.GUID","p"],["pdo","riid","ppv"],0],"SHCreateShellItemArrayFromIDLists":["hr",["u32","**s3:UI.Shell.Common.ITEMIDLIST","*i:UI.Shell.IShellItemArray"],["cidl","rgpidl","ppsiItemArray"],0],"SHCreateShellItemArrayFromShellItem":["hr",["i:UI.Shell.IShellItem","*s16:Foundation.GUID","p"],["psi","riid","ppv"],0],"SHCreateStdEnumFmtEtc":["hr",["u32","*s32:System.Com.FORMATETC","*i:System.Com.IEnumFORMATETC"],["cfmt","afmt","ppenumFormatEtc"],0],"SHDefExtractIconA":["hr",["a","i32","u32","p","p","u32"],["pszIconFile","iIndex","uFlags","phiconLarge","phiconSmall","nIconSize"],0],"SHDefExtractIconW":["hr",["w","i32","u32","p","p","u32"],["pszIconFile","iIndex","uFlags","phiconLarge","phiconSmall","nIconSize"],0],"SHDestroyPropSheetExtArray":["void",["p"],["hpsxa"],0],"SHDoDragDrop":["hr",["p","i:System.Com.IDataObject","i:System.Ole.IDropSource","u32","*u32"],["hwnd","pdata","pdsrc","dwEffect","pdwEffect"],0],"SHEmptyRecycleBinA":["hr",["p","a","u32"],["hwnd","pszRootPath","dwFlags"],0],"SHEmptyRecycleBinW":["hr",["p","w","u32"],["hwnd","pszRootPath","dwFlags"],0],"SHEnumerateUnreadMailAccountsW":["hr",["p","u32","w","i32"],["hKeyUser","dwIndex","pszMailAddress","cchMailAddress"],0],"SHEvaluateSystemCommandTemplate":["hr",["w","*w","*w","*w"],["pszCmdTemplate","ppszApplication","ppszCommandLine","ppszParameters"],0],"SHFileOperationA":["i32",["*s56:UI.Shell.SHFILEOPSTRUCTA"],["lpFileOp"],1],"SHFileOperationW":["i32",["*s56:UI.Shell.SHFILEOPSTRUCTW"],["lpFileOp"],1],"SHFindFiles":["i32",["*s3:UI.Shell.Common.ITEMIDLIST","*s3:UI.Shell.Common.ITEMIDLIST"],["pidlFolder","pidlSaveFile"],0],"SHFind_InitMenuPopup":["i:UI.Shell.IContextMenu",["p","p","u32","u32"],["hmenu","hwndOwner","idCmdFirst","idCmdLast"],0],"SHFlushSFCache":["void",[],[],0],"SHFormatDrive":["u32",["p","u32","u32","u32"],["hwnd","drive","fmtID","options"],0],"SHFree":["void",["p"],["pv"],0],"SHFreeNameMappings":["void",["p"],["hNameMappings"],0],"SHGetAttributesFromDataObject":["hr",["i:System.Com.IDataObject","u32","*u32","*u32"],["pdo","dwAttributeMask","pdwAttributes","pcItems"],0],"SHGetDataFromIDListA":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","i32","p","i32"],["psf","pidl","nFormat","pv","cb"],0],"SHGetDataFromIDListW":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","i32","p","i32"],["psf","pidl","nFormat","pv","cb"],0],"SHGetDesktopFolder":["hr",["*i:UI.Shell.IShellFolder"],["ppshf"],0],"SHGetDiskFreeSpaceExA":["i32",["a","*u64","*u64","*u64"],["pszDirectoryName","pulFreeBytesAvailableToCaller","pulTotalNumberOfBytes","pulTotalNumberOfFreeBytes"],0],"SHGetDiskFreeSpaceExW":["i32",["w","*u64","*u64","*u64"],["pszDirectoryName","pulFreeBytesAvailableToCaller","pulTotalNumberOfBytes","pulTotalNumberOfFreeBytes"],0],"SHGetDriveMedia":["hr",["w","*u32"],["pszDrive","pdwMediaContent"],0],"SHGetFileInfoA":["usize",["a","u32","*s360:UI.Shell.SHFILEINFOA","u32","u32"],["pszPath","dwFileAttributes","psfi","cbFileInfo","uFlags"],0],"SHGetFileInfoW":["usize",["w","u32","*s696:UI.Shell.SHFILEINFOW","u32","u32"],["pszPath","dwFileAttributes","psfi","cbFileInfo","uFlags"],0],"SHGetFolderLocation":["hr",["p","i32","p","u32","**s3:UI.Shell.Common.ITEMIDLIST"],["hwnd","csidl","hToken","dwFlags","ppidl"],0],"SHGetFolderPathA":["hr",["p","i32","p","u32","a"],["hwnd","csidl","hToken","dwFlags","pszPath"],0],"SHGetFolderPathAndSubDirA":["hr",["p","i32","p","u32","a","a"],["hwnd","csidl","hToken","dwFlags","pszSubDir","pszPath"],0],"SHGetFolderPathAndSubDirW":["hr",["p","i32","p","u32","w","w"],["hwnd","csidl","hToken","dwFlags","pszSubDir","pszPath"],0],"SHGetFolderPathW":["hr",["p","i32","p","u32","w"],["hwnd","csidl","hToken","dwFlags","pszPath"],0],"SHGetIDListFromObject":["hr",["i:System.Com.IUnknown","**s3:UI.Shell.Common.ITEMIDLIST"],["punk","ppidl"],0],"SHGetIconOverlayIndexA":["i32",["a","i32"],["pszIconPath","iIconIndex"],0],"SHGetIconOverlayIndexW":["i32",["w","i32"],["pszIconPath","iIconIndex"],0],"SHGetImageList":["hr",["i32","*s16:Foundation.GUID","p"],["iImageList","riid","ppvObj"],0],"SHGetInstanceExplorer":["hr",["*i:System.Com.IUnknown"],["ppunk"],0],"SHGetItemFromDataObject":["hr",["i:System.Com.IDataObject","i32","*s16:Foundation.GUID","p"],["pdtobj","dwFlags","riid","ppv"],0],"SHGetItemFromObject":["hr",["i:System.Com.IUnknown","*s16:Foundation.GUID","p"],["punk","riid","ppv"],0],"SHGetKnownFolderIDList":["hr",["*s16:Foundation.GUID","u32","p","**s3:UI.Shell.Common.ITEMIDLIST"],["rfid","dwFlags","hToken","ppidl"],0],"SHGetKnownFolderItem":["hr",["*s16:Foundation.GUID","i32","p","*s16:Foundation.GUID","p"],["rfid","flags","hToken","riid","ppv"],0],"SHGetKnownFolderPath":["hr",["*s16:Foundation.GUID","u32","p","*w"],["rfid","dwFlags","hToken","ppszPath"],0],"SHGetLocalizedName":["hr",["w","w","u32","*i32"],["pszPath","pszResModule","cch","pidsRes"],0],"SHGetMalloc":["hr",["*i:System.Com.IMalloc"],["ppMalloc"],0],"SHGetNameFromIDList":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","i32","*w"],["pidl","sigdnName","ppszName"],0],"SHGetNewLinkInfoA":["i32",["a","a","a","*i32","u32"],["pszLinkTo","pszDir","pszName","pfMustCopy","uFlags"],0],"SHGetNewLinkInfoW":["i32",["w","w","w","*i32","u32"],["pszLinkTo","pszDir","pszName","pfMustCopy","uFlags"],0],"SHGetPathFromIDListA":["i32",["*s3:UI.Shell.Common.ITEMIDLIST","a"],["pidl","pszPath"],0],"SHGetPathFromIDListEx":["i32",["*s3:UI.Shell.Common.ITEMIDLIST","w","u32","u32"],["pidl","pszPath","cchPath","uOpts"],0],"SHGetPathFromIDListW":["i32",["*s3:UI.Shell.Common.ITEMIDLIST","w"],["pidl","pszPath"],0],"SHGetPropertyStoreForWindow":["hr",["p","*s16:Foundation.GUID","p"],["hwnd","riid","ppv"],0],"SHGetPropertyStoreFromIDList":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","i32","*s16:Foundation.GUID","p"],["pidl","flags","riid","ppv"],0],"SHGetPropertyStoreFromParsingName":["hr",["w","i:System.Com.IBindCtx","i32","*s16:Foundation.GUID","p"],["pszPath","pbc","flags","riid","ppv"],0],"SHGetRealIDL":["hr",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","**s3:UI.Shell.Common.ITEMIDLIST"],["psf","pidlSimple","ppidlReal"],0],"SHGetSetFolderCustomSettings":["hr",["*s104:UI.Shell.SHFOLDERCUSTOMSETTINGS","w","u32"],["pfcs","pszPath","dwReadWrite"],0],"SHGetSetSettings":["void",["*s32:UI.Shell.SHELLSTATEA","u32","i32"],["lpss","dwMask","bSet"],0],"SHGetSettings":["void",["*s4:UI.Shell.SHELLFLAGSTATE","u32"],["psfs","dwMask"],0],"SHGetSpecialFolderLocation":["hr",["p","i32","**s3:UI.Shell.Common.ITEMIDLIST"],["hwnd","csidl","ppidl"],0],"SHGetSpecialFolderPathA":["i32",["p","a","i32","i32"],["hwnd","pszPath","csidl","fCreate"],0],"SHGetSpecialFolderPathW":["i32",["p","w","i32","i32"],["hwnd","pszPath","csidl","fCreate"],0],"SHGetStockIconInfo":["hr",["i32","u32","*s544:UI.Shell.SHSTOCKICONINFO"],["siid","uFlags","psii"],0],"SHGetTemporaryPropertyForItem":["hr",["i:UI.Shell.IShellItem","*s20:Foundation.PROPERTYKEY","*s24:System.Com.StructuredStorage.PROPVARIANT"],["psi","propkey","ppropvar"],0],"SHGetUnreadMailCountW":["hr",["p","w","*u32","*s8:Foundation.FILETIME","w","i32"],["hKeyUser","pszMailAddress","pdwCount","pFileTime","pszShellExecuteCommand","cchShellExecuteCommand"],0],"SHHandleUpdateImage":["i32",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidlExtra"],0],"SHILCreateFromPath":["hr",["w","**s3:UI.Shell.Common.ITEMIDLIST","*u32"],["pszPath","ppidl","rgfInOut"],0],"SHInvokePrinterCommandA":["i32",["p","u32","a","a","i32"],["hwnd","uAction","lpBuf1","lpBuf2","fModal"],0],"SHInvokePrinterCommandW":["i32",["p","u32","w","w","i32"],["hwnd","uAction","lpBuf1","lpBuf2","fModal"],0],"SHIsFileAvailableOffline":["hr",["w","*u32"],["pwszPath","pdwStatus"],0],"SHLimitInputEdit":["hr",["p","i:UI.Shell.IShellFolder"],["hwndEdit","psf"],0],"SHLoadInProc":["hr",["*s16:Foundation.GUID"],["rclsid"],0],"SHLoadNonloadedIconOverlayIdentifiers":["hr",[],[],0],"SHMapPIDLToSystemImageListIndex":["i32",["i:UI.Shell.IShellFolder","*s3:UI.Shell.Common.ITEMIDLIST","*i32"],["pshf","pidl","piIndexSel"],0],"SHMultiFileProperties":["hr",["i:System.Com.IDataObject","u32"],["pdtobj","dwFlags"],0],"SHObjectProperties":["i32",["p","u32","w","w"],["hwnd","shopObjectType","pszObjectName","pszPropertyPage"],0],"SHOpenFolderAndSelectItems":["hr",["*s3:UI.Shell.Common.ITEMIDLIST","u32","**s3:UI.Shell.Common.ITEMIDLIST","u32"],["pidlFolder","cidl","apidl","dwFlags"],0],"SHOpenPropSheetW":["i32",["w","p","u32","*s16:Foundation.GUID","i:System.Com.IDataObject","i:UI.Shell.IShellBrowser","w"],["pszCaption","ahkeys","ckeys","pclsidDefault","pdtobj","psb","pStartPage"],0],"SHOpenWithDialog":["hr",["p","*s24:UI.Shell.OPENASINFO"],["hwndParent","poainfo"],0],"SHParseDisplayName":["hr",["w","i:System.Com.IBindCtx","**s3:UI.Shell.Common.ITEMIDLIST","u32","*u32"],["pszName","pbc","ppidl","sfgaoIn","psfgaoOut"],0],"SHPathPrepareForWriteA":["hr",["p","i:System.Com.IUnknown","a","u32"],["hwnd","punkEnableModless","pszPath","dwFlags"],0],"SHPathPrepareForWriteW":["hr",["p","i:System.Com.IUnknown","w","u32"],["hwnd","punkEnableModless","pszPath","dwFlags"],0],"SHPropStgCreate":["hr",["i:System.Com.StructuredStorage.IPropertySetStorage","*s16:Foundation.GUID","*s16:Foundation.GUID","u32","u32","u32","*i:System.Com.StructuredStorage.IPropertyStorage","*u32"],["psstg","fmtid","pclsid","grfFlags","grfMode","dwDisposition","ppstg","puCodePage"],0],"SHPropStgReadMultiple":["hr",["i:System.Com.StructuredStorage.IPropertyStorage","u32","u32","*s16:System.Com.StructuredStorage.PROPSPEC","*s24:System.Com.StructuredStorage.PROPVARIANT"],["pps","uCodePage","cpspec","rgpspec","rgvar"],0],"SHPropStgWriteMultiple":["hr",["i:System.Com.StructuredStorage.IPropertyStorage","*u32","u32","*s16:System.Com.StructuredStorage.PROPSPEC","*s24:System.Com.StructuredStorage.PROPVARIANT","u32"],["pps","puCodePage","cpspec","rgpspec","rgvar","propidNameFirst"],0],"SHQueryRecycleBinA":["hr",["a","*s24:UI.Shell.SHQUERYRBINFO"],["pszRootPath","pSHQueryRBInfo"],0],"SHQueryRecycleBinW":["hr",["w","*s24:UI.Shell.SHQUERYRBINFO"],["pszRootPath","pSHQueryRBInfo"],0],"SHQueryUserNotificationState":["hr",["*i32"],["pquns"],0],"SHRemoveLocalizedName":["hr",["w"],["pszPath"],0],"SHReplaceFromPropSheetExtArray":["u32",["p","u32","f:UI.Controls.LPFNSVADDPROPSHEETPAGE","isize"],["hpsxa","uPageID","lpfnReplaceWith","lParam"],0],"SHResolveLibrary":["hr",["i:UI.Shell.IShellItem"],["psiLibrary"],0],"SHRestricted":["u32",["i32"],["rest"],0],"SHSetDefaultProperties":["hr",["p","i:UI.Shell.IShellItem","u32","i:UI.Shell.IFileOperationProgressSink"],["hwnd","psi","dwFileOpFlags","pfops"],0],"SHSetFolderPathA":["hr",["i32","p","u32","a"],["csidl","hToken","dwFlags","pszPath"],0],"SHSetFolderPathW":["hr",["i32","p","u32","w"],["csidl","hToken","dwFlags","pszPath"],0],"SHSetInstanceExplorer":["void",["i:System.Com.IUnknown"],["punk"],0],"SHSetKnownFolderPath":["hr",["*s16:Foundation.GUID","u32","p","w"],["rfid","dwFlags","hToken","pszPath"],0],"SHSetLocalizedName":["hr",["w","w","i32"],["pszPath","pszResModule","idsRes"],0],"SHSetTemporaryPropertyForItem":["hr",["i:UI.Shell.IShellItem","*s20:Foundation.PROPERTYKEY","*s24:System.Com.StructuredStorage.PROPVARIANT"],["psi","propkey","propvar"],0],"SHSetUnreadMailCountW":["hr",["w","u32","w"],["pszMailAddress","dwCount","pszShellExecuteCommand"],0],"SHShellFolderView_Message":["isize",["p","u32","isize"],["hwndMain","uMsg","lParam"],0],"SHShowManageLibraryUI":["hr",["i:UI.Shell.IShellItem","p","w","w","i32"],["psiLibrary","hwndOwner","pszTitle","pszInstruction","lmdOptions"],0],"SHSimpleIDListFromPath":["*s3:UI.Shell.Common.ITEMIDLIST",["w"],["pszPath"],0],"SHStartNetConnectionDialogW":["hr",["p","w","u32"],["hwnd","pszRemoteName","dwType"],0],"SHTestTokenMembership":["i32",["p","u32"],["hToken","ulRID"],0],"SHUpdateImageA":["void",["a","i32","u32","i32"],["pszHashItem","iIndex","uFlags","iImageIndex"],0],"SHUpdateImageW":["void",["w","i32","u32","i32"],["pszHashItem","iIndex","uFlags","iImageIndex"],0],"SHValidateUNC":["i32",["p","w","u32"],["hwndOwner","pszFile","fConnect"],0],"SetCurrentProcessExplicitAppUserModelID":["hr",["w"],["AppID"],0],"ShellAboutA":["i32",["p","a","a","p"],["hWnd","szApp","szOtherStuff","hIcon"],0],"ShellAboutW":["i32",["p","w","w","p"],["hWnd","szApp","szOtherStuff","hIcon"],0],"ShellExecuteA":["p",["p","a","a","a","a","i32"],["hwnd","lpOperation","lpFile","lpParameters","lpDirectory","nShowCmd"],0],"ShellExecuteExA":["i32",["*s112:UI.Shell.SHELLEXECUTEINFOA"],["pExecInfo"],1],"ShellExecuteExW":["i32",["*s112:UI.Shell.SHELLEXECUTEINFOW"],["pExecInfo"],1],"ShellExecuteW":["p",["p","w","w","w","w","i32"],["hwnd","lpOperation","lpFile","lpParameters","lpDirectory","nShowCmd"],0],"Shell_GetCachedImageIndex":["i32",["w","i32","u32"],["pwszIconPath","iIconIndex","uIconFlags"],0],"Shell_GetCachedImageIndexA":["i32",["a","i32","u32"],["pszIconPath","iIconIndex","uIconFlags"],0],"Shell_GetCachedImageIndexW":["i32",["w","i32","u32"],["pszIconPath","iIconIndex","uIconFlags"],0],"Shell_GetImageLists":["i32",["*isize","*isize"],["phiml","phimlSmall"],0],"Shell_MergeMenus":["u32",["p","p","u32","u32","u32","u32"],["hmDst","hmSrc","uInsert","uIDAdjust","uIDAdjustMax","uFlags"],0],"Shell_NotifyIconA":["i32",["u32","*s528:UI.Shell.NOTIFYICONDATAA"],["dwMessage","lpData"],0],"Shell_NotifyIconGetRect":["hr",["*s40:UI.Shell.NOTIFYICONIDENTIFIER","*s16:Foundation.RECT"],["identifier","iconLocation"],0],"Shell_NotifyIconW":["i32",["u32","*s976:UI.Shell.NOTIFYICONDATAW"],["dwMessage","lpData"],0],"SignalFileOpen":["i32",["*s3:UI.Shell.Common.ITEMIDLIST"],["pidl"],0],"StgMakeUniqueName":["hr",["i:System.Com.StructuredStorage.IStorage","w","u32","*s16:Foundation.GUID","p"],["pstgParent","pszFileSpec","grfMode","riid","ppv"],0],"Win32DeleteFile":["i32",["w"],["pszPath"],0],"WriteCabinetState":["i32",["*s12:UI.Shell.CABINETSTATE"],["pcs"],0]}}
package/index.d.ts ADDED
@@ -0,0 +1,562 @@
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
+ /** shell32.dll!AssocCreateForClasses */
6
+ AssocCreateForClasses(rgClasses: Win32Pointer, cClasses: number, riid: Win32Pointer, ppv: Win32Pointer): number;
7
+ /** shell32.dll!AssocGetDetailsOfPropKey */
8
+ AssocGetDetailsOfPropKey(psf: Win32Pointer, pidl: Win32Pointer, pkey: Win32Pointer, pv: Win32Pointer, pfFoundPropKey: Win32Pointer): number;
9
+ /** shell32.dll!CDefFolderMenu_Create2 */
10
+ CDefFolderMenu_Create2(pidlFolder: Win32Pointer, hwnd: Win32Pointer, cidl: number, apidl: Win32Pointer, psf: Win32Pointer, pfn: Win32Callback, nKeys: number, ahkeys: Win32Pointer, ppcm: Win32Pointer): number;
11
+ /** shell32.dll!CIDLData_CreateFromIDArray */
12
+ CIDLData_CreateFromIDArray(pidlFolder: Win32Pointer, cidl: number, apidl: Win32Pointer, ppdtobj: Win32Pointer): number;
13
+ /** shell32.dll!CommandLineToArgvW */
14
+ CommandLineToArgvW(lpCmdLine: string | Win32Pointer, pNumArgs: Win32Pointer): number | null;
15
+ /** shell32.dll!DAD_AutoScroll */
16
+ DAD_AutoScroll(hwnd: Win32Pointer, pad: Win32Pointer, pptNow: Win32Pointer): number;
17
+ /** shell32.dll!DAD_DragEnterEx */
18
+ DAD_DragEnterEx(hwndTarget: Win32Pointer, ptStart: Win32StructInit): number;
19
+ /** shell32.dll!DAD_DragEnterEx2 */
20
+ DAD_DragEnterEx2(hwndTarget: Win32Pointer, ptStart: Win32StructInit, pdtObject: Win32Pointer): number;
21
+ /** shell32.dll!DAD_DragLeave */
22
+ DAD_DragLeave(): number;
23
+ /** shell32.dll!DAD_DragMove */
24
+ DAD_DragMove(pt: Win32StructInit): number;
25
+ /** shell32.dll!DAD_SetDragImage */
26
+ DAD_SetDragImage(him: number | bigint, pptOffset: Win32Pointer): number;
27
+ /** shell32.dll!DAD_ShowDragImage */
28
+ DAD_ShowDragImage(fShow: number): number;
29
+ /** shell32.dll!DoEnvironmentSubstA */
30
+ DoEnvironmentSubstA(pszSrc: string | Win32Pointer, cchSrc: number): number;
31
+ /** shell32.dll!DoEnvironmentSubstW */
32
+ DoEnvironmentSubstW(pszSrc: string | Win32Pointer, cchSrc: number): number;
33
+ /** shell32.dll!DoEnvironmentSubstW */
34
+ DoEnvironmentSubst(pszSrc: string | Win32Pointer, cchSrc: number): number;
35
+ /** shell32.dll!DragAcceptFiles */
36
+ DragAcceptFiles(hWnd: Win32Pointer, fAccept: number): void;
37
+ /** shell32.dll!DragFinish */
38
+ DragFinish(hDrop: Win32Pointer): void;
39
+ /** shell32.dll!DragQueryFileA */
40
+ DragQueryFileA(hDrop: Win32Pointer, iFile: number, lpszFile: string | Win32Pointer, cch: number): number;
41
+ /** shell32.dll!DragQueryFileW */
42
+ DragQueryFileW(hDrop: Win32Pointer, iFile: number, lpszFile: string | Win32Pointer, cch: number): number;
43
+ /** shell32.dll!DragQueryFileW */
44
+ DragQueryFile(hDrop: Win32Pointer, iFile: number, lpszFile: string | Win32Pointer, cch: number): number;
45
+ /** shell32.dll!DragQueryPoint */
46
+ DragQueryPoint(hDrop: Win32Pointer, ppt: Win32Pointer): number;
47
+ /** shell32.dll!DriveType */
48
+ DriveType(iDrive: number): number;
49
+ /** shell32.dll!DuplicateIcon */
50
+ DuplicateIcon(hInst: Win32Pointer, hIcon: Win32Pointer): number | null;
51
+ /** shell32.dll!ExtractAssociatedIconA */
52
+ ExtractAssociatedIconA(hInst: Win32Pointer, pszIconPath: string | Win32Pointer, piIcon: Win32Pointer): number | null;
53
+ /** shell32.dll!ExtractAssociatedIconExA */
54
+ ExtractAssociatedIconExA(hInst: Win32Pointer, pszIconPath: string | Win32Pointer, piIconIndex: Win32Pointer, piIconId: Win32Pointer): number | null;
55
+ /** shell32.dll!ExtractAssociatedIconExW */
56
+ ExtractAssociatedIconExW(hInst: Win32Pointer, pszIconPath: string | Win32Pointer, piIconIndex: Win32Pointer, piIconId: Win32Pointer): number | null;
57
+ /** shell32.dll!ExtractAssociatedIconExW */
58
+ ExtractAssociatedIconEx(hInst: Win32Pointer, pszIconPath: string | Win32Pointer, piIconIndex: Win32Pointer, piIconId: Win32Pointer): number | null;
59
+ /** shell32.dll!ExtractAssociatedIconW */
60
+ ExtractAssociatedIconW(hInst: Win32Pointer, pszIconPath: string | Win32Pointer, piIcon: Win32Pointer): number | null;
61
+ /** shell32.dll!ExtractAssociatedIconW */
62
+ ExtractAssociatedIcon(hInst: Win32Pointer, pszIconPath: string | Win32Pointer, piIcon: Win32Pointer): number | null;
63
+ /** shell32.dll!ExtractIconA */
64
+ ExtractIconA(hInst: Win32Pointer, pszExeFileName: string | Win32Pointer, nIconIndex: number): number | null;
65
+ /** shell32.dll!ExtractIconExA */
66
+ ExtractIconExA(lpszFile: string | Win32Pointer, nIconIndex: number, phiconLarge: Win32Pointer, phiconSmall: Win32Pointer, nIcons: number): number;
67
+ /** shell32.dll!ExtractIconExW */
68
+ ExtractIconExW(lpszFile: string | Win32Pointer, nIconIndex: number, phiconLarge: Win32Pointer, phiconSmall: Win32Pointer, nIcons: number): number;
69
+ /** shell32.dll!ExtractIconExW */
70
+ ExtractIconEx(lpszFile: string | Win32Pointer, nIconIndex: number, phiconLarge: Win32Pointer, phiconSmall: Win32Pointer, nIcons: number): number;
71
+ /** shell32.dll!ExtractIconW */
72
+ ExtractIconW(hInst: Win32Pointer, pszExeFileName: string | Win32Pointer, nIconIndex: number): number | null;
73
+ /** shell32.dll!ExtractIconW */
74
+ ExtractIcon(hInst: Win32Pointer, pszExeFileName: string | Win32Pointer, nIconIndex: number): number | null;
75
+ /** shell32.dll!FileIconInit */
76
+ FileIconInit(fRestoreCache: number): number;
77
+ /** shell32.dll!FindExecutableA */
78
+ FindExecutableA(lpFile: string | Win32Pointer, lpDirectory: string | Win32Pointer, lpResult: string | Win32Pointer): number | null;
79
+ /** shell32.dll!FindExecutableW */
80
+ FindExecutableW(lpFile: string | Win32Pointer, lpDirectory: string | Win32Pointer, lpResult: string | Win32Pointer): number | null;
81
+ /** shell32.dll!FindExecutableW */
82
+ FindExecutable(lpFile: string | Win32Pointer, lpDirectory: string | Win32Pointer, lpResult: string | Win32Pointer): number | null;
83
+ /** shell32.dll!GetCurrentProcessExplicitAppUserModelID */
84
+ GetCurrentProcessExplicitAppUserModelID(AppID: Win32Pointer): number;
85
+ /** shell32.dll!GetFileNameFromBrowse */
86
+ GetFileNameFromBrowse(hwnd: Win32Pointer, pszFilePath: string | Win32Pointer, cchFilePath: number, pszWorkingDir: string | Win32Pointer, pszDefExt: string | Win32Pointer, pszFilters: string | Win32Pointer, pszTitle: string | Win32Pointer): number;
87
+ /** shell32.dll!ILAppendID */
88
+ ILAppendID(pidl: Win32Pointer, pmkid: Win32Pointer, fAppend: number): number | null;
89
+ /** shell32.dll!ILClone */
90
+ ILClone(pidl: Win32Pointer): number | null;
91
+ /** shell32.dll!ILCloneFirst */
92
+ ILCloneFirst(pidl: Win32Pointer): number | null;
93
+ /** shell32.dll!ILCombine */
94
+ ILCombine(pidl1: Win32Pointer, pidl2: Win32Pointer): number | null;
95
+ /** shell32.dll!ILCreateFromPathA */
96
+ ILCreateFromPathA(pszPath: string | Win32Pointer): number | null;
97
+ /** shell32.dll!ILCreateFromPathW */
98
+ ILCreateFromPathW(pszPath: string | Win32Pointer): number | null;
99
+ /** shell32.dll!ILCreateFromPathW */
100
+ ILCreateFromPath(pszPath: string | Win32Pointer): number | null;
101
+ /** shell32.dll!ILFindChild */
102
+ ILFindChild(pidlParent: Win32Pointer, pidlChild: Win32Pointer): number | null;
103
+ /** shell32.dll!ILFindLastID */
104
+ ILFindLastID(pidl: Win32Pointer): number | null;
105
+ /** shell32.dll!ILFree */
106
+ ILFree(pidl: Win32Pointer): void;
107
+ /** shell32.dll!ILGetNext */
108
+ ILGetNext(pidl: Win32Pointer): number | null;
109
+ /** shell32.dll!ILGetSize */
110
+ ILGetSize(pidl: Win32Pointer): number;
111
+ /** shell32.dll!ILIsEqual */
112
+ ILIsEqual(pidl1: Win32Pointer, pidl2: Win32Pointer): number;
113
+ /** shell32.dll!ILIsParent */
114
+ ILIsParent(pidl1: Win32Pointer, pidl2: Win32Pointer, fImmediate: number): number;
115
+ /** shell32.dll!ILLoadFromStreamEx */
116
+ ILLoadFromStreamEx(pstm: Win32Pointer, pidl: Win32Pointer): number;
117
+ /** shell32.dll!ILRemoveLastID */
118
+ ILRemoveLastID(pidl: Win32Pointer): number;
119
+ /** shell32.dll!ILSaveToStream */
120
+ ILSaveToStream(pstm: Win32Pointer, pidl: Win32Pointer): number;
121
+ /** shell32.dll!InitNetworkAddressControl */
122
+ InitNetworkAddressControl(): number;
123
+ /** shell32.dll!IsLFNDriveA */
124
+ IsLFNDriveA(pszPath: string | Win32Pointer): number;
125
+ /** shell32.dll!IsLFNDriveW */
126
+ IsLFNDriveW(pszPath: string | Win32Pointer): number;
127
+ /** shell32.dll!IsLFNDriveW */
128
+ IsLFNDrive(pszPath: string | Win32Pointer): number;
129
+ /** shell32.dll!IsNetDrive */
130
+ IsNetDrive(iDrive: number): number;
131
+ /** shell32.dll!IsUserAnAdmin */
132
+ IsUserAnAdmin(): number;
133
+ /** shell32.dll!OpenRegStream */
134
+ OpenRegStream(hkey: Win32Pointer, pszSubkey: string | Win32Pointer, pszValue: string | Win32Pointer, grfMode: number): number | null;
135
+ /** shell32.dll!PathCleanupSpec */
136
+ PathCleanupSpec(pszDir: string | Win32Pointer, pszSpec: string | Win32Pointer): number;
137
+ /** shell32.dll!PathGetShortPath */
138
+ PathGetShortPath(pszLongPath: string | Win32Pointer): void;
139
+ /** shell32.dll!PathIsExe */
140
+ PathIsExe(pszPath: string | Win32Pointer): number;
141
+ /** shell32.dll!PathIsSlowA */
142
+ PathIsSlowA(pszFile: string | Win32Pointer, dwAttr: number): number;
143
+ /** shell32.dll!PathIsSlowW */
144
+ PathIsSlowW(pszFile: string | Win32Pointer, dwAttr: number): number;
145
+ /** shell32.dll!PathIsSlowW */
146
+ PathIsSlow(pszFile: string | Win32Pointer, dwAttr: number): number;
147
+ /** shell32.dll!PathMakeUniqueName */
148
+ PathMakeUniqueName(pszUniqueName: string | Win32Pointer, cchMax: number, pszTemplate: string | Win32Pointer, pszLongPlate: string | Win32Pointer, pszDir: string | Win32Pointer): number;
149
+ /** shell32.dll!PathQualify */
150
+ PathQualify(psz: string | Win32Pointer): void;
151
+ /** shell32.dll!PathResolve */
152
+ PathResolve(pszPath: string | Win32Pointer, dirs: Win32Pointer, fFlags: number): number;
153
+ /** shell32.dll!PathYetAnotherMakeUniqueName */
154
+ PathYetAnotherMakeUniqueName(pszUniqueName: string | Win32Pointer, pszPath: string | Win32Pointer, pszShort: string | Win32Pointer, pszFileSpec: string | Win32Pointer): number;
155
+ /** shell32.dll!PickIconDlg */
156
+ PickIconDlg(hwnd: Win32Pointer, pszIconPath: string | Win32Pointer, cchIconPath: number, piIconIndex: Win32Pointer): number;
157
+ /** shell32.dll!PifMgr_CloseProperties */
158
+ PifMgr_CloseProperties(hProps: Win32Pointer, flOpt: number): number | null;
159
+ /** shell32.dll!PifMgr_GetProperties */
160
+ PifMgr_GetProperties(hProps: Win32Pointer, pszGroup: string | Win32Pointer, lpProps: Win32Pointer, cbProps: number, flOpt: number): number;
161
+ /** shell32.dll!PifMgr_OpenProperties */
162
+ PifMgr_OpenProperties(pszApp: string | Win32Pointer, pszPIF: string | Win32Pointer, hInf: number, flOpt: number): number | null;
163
+ /** shell32.dll!PifMgr_SetProperties */
164
+ PifMgr_SetProperties(hProps: Win32Pointer, pszGroup: string | Win32Pointer, lpProps: Win32Pointer, cbProps: number, flOpt: number): number;
165
+ /** shell32.dll!ReadCabinetState */
166
+ ReadCabinetState(pcs: Win32Pointer, cLength: number): number;
167
+ /** shell32.dll!RealDriveType */
168
+ RealDriveType(iDrive: number, fOKToHitNet: number): number;
169
+ /** shell32.dll!RestartDialog */
170
+ RestartDialog(hwnd: Win32Pointer, pszPrompt: string | Win32Pointer, dwReturn: number): number;
171
+ /** shell32.dll!RestartDialogEx */
172
+ RestartDialogEx(hwnd: Win32Pointer, pszPrompt: string | Win32Pointer, dwReturn: number, dwReasonCode: number): number;
173
+ /** shell32.dll!SHAddDefaultPropertiesByExt */
174
+ SHAddDefaultPropertiesByExt(pszExt: string | Win32Pointer, pPropStore: Win32Pointer): number;
175
+ /** shell32.dll!SHAddFromPropSheetExtArray */
176
+ SHAddFromPropSheetExtArray(hpsxa: Win32Pointer, lpfnAddPage: Win32Callback, lParam: number | bigint): number;
177
+ /** shell32.dll!SHAddToRecentDocs */
178
+ SHAddToRecentDocs(uFlags: number, pv: Win32Pointer): void;
179
+ /** shell32.dll!SHAlloc */
180
+ SHAlloc(cb: number | bigint): number | null;
181
+ /** shell32.dll!SHAppBarMessage */
182
+ SHAppBarMessage(dwMessage: number, pData: Win32Pointer): number | bigint;
183
+ /** shell32.dll!SHAssocEnumHandlers */
184
+ SHAssocEnumHandlers(pszExtra: string | Win32Pointer, afFilter: number, ppEnumHandler: Win32Pointer): number;
185
+ /** shell32.dll!SHAssocEnumHandlersForProtocolByApplication */
186
+ SHAssocEnumHandlersForProtocolByApplication(protocol: string | Win32Pointer, riid: Win32Pointer, enumHandlers: Win32Pointer): number;
187
+ /** shell32.dll!SHBindToFolderIDListParent */
188
+ SHBindToFolderIDListParent(psfRoot: Win32Pointer, pidl: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer, ppidlLast: Win32Pointer): number;
189
+ /** shell32.dll!SHBindToFolderIDListParentEx */
190
+ SHBindToFolderIDListParentEx(psfRoot: Win32Pointer, pidl: Win32Pointer, ppbc: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer, ppidlLast: Win32Pointer): number;
191
+ /** shell32.dll!SHBindToObject */
192
+ SHBindToObject(psf: Win32Pointer, pidl: Win32Pointer, pbc: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
193
+ /** shell32.dll!SHBindToParent */
194
+ SHBindToParent(pidl: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer, ppidlLast: Win32Pointer): number;
195
+ /** shell32.dll!SHBrowseForFolderA */
196
+ SHBrowseForFolderA(lpbi: Win32Pointer): number | null;
197
+ /** shell32.dll!SHBrowseForFolderW */
198
+ SHBrowseForFolderW(lpbi: Win32Pointer): number | null;
199
+ /** shell32.dll!SHBrowseForFolderW */
200
+ SHBrowseForFolder(lpbi: Win32Pointer): number | null;
201
+ /** shell32.dll!SHCLSIDFromString */
202
+ SHCLSIDFromString(psz: string | Win32Pointer, pclsid: Win32Pointer): number;
203
+ /** shell32.dll!SHChangeNotification_Lock */
204
+ SHChangeNotification_Lock(hChange: Win32Pointer, dwProcId: number, pppidl: Win32Pointer, plEvent: Win32Pointer): number | null;
205
+ /** shell32.dll!SHChangeNotification_Unlock */
206
+ SHChangeNotification_Unlock(hLock: Win32Pointer): number;
207
+ /** shell32.dll!SHChangeNotify */
208
+ SHChangeNotify(wEventId: number, uFlags: number, dwItem1: Win32Pointer, dwItem2: Win32Pointer): void;
209
+ /** shell32.dll!SHChangeNotifyDeregister */
210
+ SHChangeNotifyDeregister(ulID: number): number;
211
+ /** shell32.dll!SHChangeNotifyRegister */
212
+ SHChangeNotifyRegister(hwnd: Win32Pointer, fSources: number, fEvents: number, wMsg: number, cEntries: number, pshcne: Win32Pointer): number;
213
+ /** shell32.dll!SHChangeNotifyRegisterThread */
214
+ SHChangeNotifyRegisterThread(status: number): void;
215
+ /** shell32.dll!SHCloneSpecialIDList */
216
+ SHCloneSpecialIDList(hwnd: Win32Pointer, csidl: number, fCreate: number): number | null;
217
+ /** shell32.dll!SHCoCreateInstance */
218
+ SHCoCreateInstance(pszCLSID: string | Win32Pointer, pclsid: Win32Pointer, pUnkOuter: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
219
+ /** shell32.dll!SHCreateAssociationRegistration */
220
+ SHCreateAssociationRegistration(riid: Win32Pointer, ppv: Win32Pointer): number;
221
+ /** shell32.dll!SHCreateDataObject */
222
+ SHCreateDataObject(pidlFolder: Win32Pointer, cidl: number, apidl: Win32Pointer, pdtInner: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
223
+ /** shell32.dll!SHCreateDefaultContextMenu */
224
+ SHCreateDefaultContextMenu(pdcm: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
225
+ /** shell32.dll!SHCreateDefaultExtractIcon */
226
+ SHCreateDefaultExtractIcon(riid: Win32Pointer, ppv: Win32Pointer): number;
227
+ /** shell32.dll!SHCreateDefaultPropertiesOp */
228
+ SHCreateDefaultPropertiesOp(psi: Win32Pointer, ppFileOp: Win32Pointer): number;
229
+ /** shell32.dll!SHCreateDirectory */
230
+ SHCreateDirectory(hwnd: Win32Pointer, pszPath: string | Win32Pointer): number;
231
+ /** shell32.dll!SHCreateDirectoryExA */
232
+ SHCreateDirectoryExA(hwnd: Win32Pointer, pszPath: string | Win32Pointer, psa: Win32Pointer): number;
233
+ /** shell32.dll!SHCreateDirectoryExW */
234
+ SHCreateDirectoryExW(hwnd: Win32Pointer, pszPath: string | Win32Pointer, psa: Win32Pointer): number;
235
+ /** shell32.dll!SHCreateDirectoryExW */
236
+ SHCreateDirectoryEx(hwnd: Win32Pointer, pszPath: string | Win32Pointer, psa: Win32Pointer): number;
237
+ /** shell32.dll!SHCreateFileExtractIconW */
238
+ SHCreateFileExtractIconW(pszFile: string | Win32Pointer, dwFileAttributes: number, riid: Win32Pointer, ppv: Win32Pointer): number;
239
+ /** shell32.dll!SHCreateItemFromIDList */
240
+ SHCreateItemFromIDList(pidl: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
241
+ /** shell32.dll!SHCreateItemFromParsingName */
242
+ SHCreateItemFromParsingName(pszPath: string | Win32Pointer, pbc: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
243
+ /** shell32.dll!SHCreateItemFromRelativeName */
244
+ SHCreateItemFromRelativeName(psiParent: Win32Pointer, pszName: string | Win32Pointer, pbc: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
245
+ /** shell32.dll!SHCreateItemInKnownFolder */
246
+ SHCreateItemInKnownFolder(kfid: Win32Pointer, dwKFFlags: number, pszItem: string | Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
247
+ /** shell32.dll!SHCreateItemWithParent */
248
+ SHCreateItemWithParent(pidlParent: Win32Pointer, psfParent: Win32Pointer, pidl: Win32Pointer, riid: Win32Pointer, ppvItem: Win32Pointer): number;
249
+ /** shell32.dll!SHCreateProcessAsUserW */
250
+ SHCreateProcessAsUserW(pscpi: Win32Pointer): number;
251
+ /** shell32.dll!SHCreatePropSheetExtArray */
252
+ SHCreatePropSheetExtArray(hKey: Win32Pointer, pszSubKey: string | Win32Pointer, max_iface: number): number | null;
253
+ /** shell32.dll!SHCreateQueryCancelAutoPlayMoniker */
254
+ SHCreateQueryCancelAutoPlayMoniker(ppmoniker: Win32Pointer): number;
255
+ /** shell32.dll!SHCreateShellFolderView */
256
+ SHCreateShellFolderView(pcsfv: Win32Pointer, ppsv: Win32Pointer): number;
257
+ /** shell32.dll!SHCreateShellFolderViewEx */
258
+ SHCreateShellFolderViewEx(pcsfv: Win32Pointer, ppsv: Win32Pointer): number;
259
+ /** shell32.dll!SHCreateShellItem */
260
+ SHCreateShellItem(pidlParent: Win32Pointer, psfParent: Win32Pointer, pidl: Win32Pointer, ppsi: Win32Pointer): number;
261
+ /** shell32.dll!SHCreateShellItemArray */
262
+ SHCreateShellItemArray(pidlParent: Win32Pointer, psf: Win32Pointer, cidl: number, ppidl: Win32Pointer, ppsiItemArray: Win32Pointer): number;
263
+ /** shell32.dll!SHCreateShellItemArrayFromDataObject */
264
+ SHCreateShellItemArrayFromDataObject(pdo: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
265
+ /** shell32.dll!SHCreateShellItemArrayFromIDLists */
266
+ SHCreateShellItemArrayFromIDLists(cidl: number, rgpidl: Win32Pointer, ppsiItemArray: Win32Pointer): number;
267
+ /** shell32.dll!SHCreateShellItemArrayFromShellItem */
268
+ SHCreateShellItemArrayFromShellItem(psi: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
269
+ /** shell32.dll!SHCreateStdEnumFmtEtc */
270
+ SHCreateStdEnumFmtEtc(cfmt: number, afmt: Win32Pointer, ppenumFormatEtc: Win32Pointer): number;
271
+ /** shell32.dll!SHDefExtractIconA */
272
+ SHDefExtractIconA(pszIconFile: string | Win32Pointer, iIndex: number, uFlags: number, phiconLarge: Win32Pointer, phiconSmall: Win32Pointer, nIconSize: number): number;
273
+ /** shell32.dll!SHDefExtractIconW */
274
+ SHDefExtractIconW(pszIconFile: string | Win32Pointer, iIndex: number, uFlags: number, phiconLarge: Win32Pointer, phiconSmall: Win32Pointer, nIconSize: number): number;
275
+ /** shell32.dll!SHDefExtractIconW */
276
+ SHDefExtractIcon(pszIconFile: string | Win32Pointer, iIndex: number, uFlags: number, phiconLarge: Win32Pointer, phiconSmall: Win32Pointer, nIconSize: number): number;
277
+ /** shell32.dll!SHDestroyPropSheetExtArray */
278
+ SHDestroyPropSheetExtArray(hpsxa: Win32Pointer): void;
279
+ /** shell32.dll!SHDoDragDrop */
280
+ SHDoDragDrop(hwnd: Win32Pointer, pdata: Win32Pointer, pdsrc: Win32Pointer, dwEffect: number, pdwEffect: Win32Pointer): number;
281
+ /** shell32.dll!SHEmptyRecycleBinA */
282
+ SHEmptyRecycleBinA(hwnd: Win32Pointer, pszRootPath: string | Win32Pointer, dwFlags: number): number;
283
+ /** shell32.dll!SHEmptyRecycleBinW */
284
+ SHEmptyRecycleBinW(hwnd: Win32Pointer, pszRootPath: string | Win32Pointer, dwFlags: number): number;
285
+ /** shell32.dll!SHEmptyRecycleBinW */
286
+ SHEmptyRecycleBin(hwnd: Win32Pointer, pszRootPath: string | Win32Pointer, dwFlags: number): number;
287
+ /** shell32.dll!SHEnumerateUnreadMailAccountsW */
288
+ SHEnumerateUnreadMailAccountsW(hKeyUser: Win32Pointer, dwIndex: number, pszMailAddress: string | Win32Pointer, cchMailAddress: number): number;
289
+ /** shell32.dll!SHEvaluateSystemCommandTemplate */
290
+ SHEvaluateSystemCommandTemplate(pszCmdTemplate: string | Win32Pointer, ppszApplication: Win32Pointer, ppszCommandLine: Win32Pointer, ppszParameters: Win32Pointer): number;
291
+ /** shell32.dll!SHFileOperationA */
292
+ SHFileOperationA(lpFileOp: Win32Pointer): number;
293
+ /** shell32.dll!SHFileOperationW */
294
+ SHFileOperationW(lpFileOp: Win32Pointer): number;
295
+ /** shell32.dll!SHFileOperationW */
296
+ SHFileOperation(lpFileOp: Win32Pointer): number;
297
+ /** shell32.dll!SHFindFiles */
298
+ SHFindFiles(pidlFolder: Win32Pointer, pidlSaveFile: Win32Pointer): number;
299
+ /** shell32.dll!SHFind_InitMenuPopup */
300
+ SHFind_InitMenuPopup(hmenu: Win32Pointer, hwndOwner: Win32Pointer, idCmdFirst: number, idCmdLast: number): number | null;
301
+ /** shell32.dll!SHFlushSFCache */
302
+ SHFlushSFCache(): void;
303
+ /** shell32.dll!SHFormatDrive */
304
+ SHFormatDrive(hwnd: Win32Pointer, drive: number, fmtID: number, options: number): number;
305
+ /** shell32.dll!SHFree */
306
+ SHFree(pv: Win32Pointer): void;
307
+ /** shell32.dll!SHFreeNameMappings */
308
+ SHFreeNameMappings(hNameMappings: Win32Pointer): void;
309
+ /** shell32.dll!SHGetAttributesFromDataObject */
310
+ SHGetAttributesFromDataObject(pdo: Win32Pointer, dwAttributeMask: number, pdwAttributes: Win32Pointer, pcItems: Win32Pointer): number;
311
+ /** shell32.dll!SHGetDataFromIDListA */
312
+ SHGetDataFromIDListA(psf: Win32Pointer, pidl: Win32Pointer, nFormat: number, pv: Win32Pointer, cb: number): number;
313
+ /** shell32.dll!SHGetDataFromIDListW */
314
+ SHGetDataFromIDListW(psf: Win32Pointer, pidl: Win32Pointer, nFormat: number, pv: Win32Pointer, cb: number): number;
315
+ /** shell32.dll!SHGetDataFromIDListW */
316
+ SHGetDataFromIDList(psf: Win32Pointer, pidl: Win32Pointer, nFormat: number, pv: Win32Pointer, cb: number): number;
317
+ /** shell32.dll!SHGetDesktopFolder */
318
+ SHGetDesktopFolder(ppshf: Win32Pointer): number;
319
+ /** shell32.dll!SHGetDiskFreeSpaceExA */
320
+ SHGetDiskFreeSpaceExA(pszDirectoryName: string | Win32Pointer, pulFreeBytesAvailableToCaller: Win32Pointer, pulTotalNumberOfBytes: Win32Pointer, pulTotalNumberOfFreeBytes: Win32Pointer): number;
321
+ /** shell32.dll!SHGetDiskFreeSpaceExW */
322
+ SHGetDiskFreeSpaceExW(pszDirectoryName: string | Win32Pointer, pulFreeBytesAvailableToCaller: Win32Pointer, pulTotalNumberOfBytes: Win32Pointer, pulTotalNumberOfFreeBytes: Win32Pointer): number;
323
+ /** shell32.dll!SHGetDiskFreeSpaceExW */
324
+ SHGetDiskFreeSpaceEx(pszDirectoryName: string | Win32Pointer, pulFreeBytesAvailableToCaller: Win32Pointer, pulTotalNumberOfBytes: Win32Pointer, pulTotalNumberOfFreeBytes: Win32Pointer): number;
325
+ /** shell32.dll!SHGetDriveMedia */
326
+ SHGetDriveMedia(pszDrive: string | Win32Pointer, pdwMediaContent: Win32Pointer): number;
327
+ /** shell32.dll!SHGetFileInfoA */
328
+ SHGetFileInfoA(pszPath: string | Win32Pointer, dwFileAttributes: number, psfi: Win32Pointer, cbFileInfo: number, uFlags: number): number | bigint;
329
+ /** shell32.dll!SHGetFileInfoW */
330
+ SHGetFileInfoW(pszPath: string | Win32Pointer, dwFileAttributes: number, psfi: Win32Pointer, cbFileInfo: number, uFlags: number): number | bigint;
331
+ /** shell32.dll!SHGetFileInfoW */
332
+ SHGetFileInfo(pszPath: string | Win32Pointer, dwFileAttributes: number, psfi: Win32Pointer, cbFileInfo: number, uFlags: number): number | bigint;
333
+ /** shell32.dll!SHGetFolderLocation */
334
+ SHGetFolderLocation(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, ppidl: Win32Pointer): number;
335
+ /** shell32.dll!SHGetFolderPathA */
336
+ SHGetFolderPathA(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, pszPath: string | Win32Pointer): number;
337
+ /** shell32.dll!SHGetFolderPathAndSubDirA */
338
+ SHGetFolderPathAndSubDirA(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, pszSubDir: string | Win32Pointer, pszPath: string | Win32Pointer): number;
339
+ /** shell32.dll!SHGetFolderPathAndSubDirW */
340
+ SHGetFolderPathAndSubDirW(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, pszSubDir: string | Win32Pointer, pszPath: string | Win32Pointer): number;
341
+ /** shell32.dll!SHGetFolderPathAndSubDirW */
342
+ SHGetFolderPathAndSubDir(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, pszSubDir: string | Win32Pointer, pszPath: string | Win32Pointer): number;
343
+ /** shell32.dll!SHGetFolderPathW */
344
+ SHGetFolderPathW(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, pszPath: string | Win32Pointer): number;
345
+ /** shell32.dll!SHGetFolderPathW */
346
+ SHGetFolderPath(hwnd: Win32Pointer, csidl: number, hToken: Win32Pointer, dwFlags: number, pszPath: string | Win32Pointer): number;
347
+ /** shell32.dll!SHGetIDListFromObject */
348
+ SHGetIDListFromObject(punk: Win32Pointer, ppidl: Win32Pointer): number;
349
+ /** shell32.dll!SHGetIconOverlayIndexA */
350
+ SHGetIconOverlayIndexA(pszIconPath: string | Win32Pointer, iIconIndex: number): number;
351
+ /** shell32.dll!SHGetIconOverlayIndexW */
352
+ SHGetIconOverlayIndexW(pszIconPath: string | Win32Pointer, iIconIndex: number): number;
353
+ /** shell32.dll!SHGetIconOverlayIndexW */
354
+ SHGetIconOverlayIndex(pszIconPath: string | Win32Pointer, iIconIndex: number): number;
355
+ /** shell32.dll!SHGetImageList */
356
+ SHGetImageList(iImageList: number, riid: Win32Pointer, ppvObj: Win32Pointer): number;
357
+ /** shell32.dll!SHGetInstanceExplorer */
358
+ SHGetInstanceExplorer(ppunk: Win32Pointer): number;
359
+ /** shell32.dll!SHGetItemFromDataObject */
360
+ SHGetItemFromDataObject(pdtobj: Win32Pointer, dwFlags: number, riid: Win32Pointer, ppv: Win32Pointer): number;
361
+ /** shell32.dll!SHGetItemFromObject */
362
+ SHGetItemFromObject(punk: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
363
+ /** shell32.dll!SHGetKnownFolderIDList */
364
+ SHGetKnownFolderIDList(rfid: Win32Pointer, dwFlags: number, hToken: Win32Pointer, ppidl: Win32Pointer): number;
365
+ /** shell32.dll!SHGetKnownFolderItem */
366
+ SHGetKnownFolderItem(rfid: Win32Pointer, flags: number, hToken: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
367
+ /** shell32.dll!SHGetKnownFolderPath */
368
+ SHGetKnownFolderPath(rfid: Win32Pointer, dwFlags: number, hToken: Win32Pointer, ppszPath: Win32Pointer): number;
369
+ /** shell32.dll!SHGetLocalizedName */
370
+ SHGetLocalizedName(pszPath: string | Win32Pointer, pszResModule: string | Win32Pointer, cch: number, pidsRes: Win32Pointer): number;
371
+ /** shell32.dll!SHGetMalloc */
372
+ SHGetMalloc(ppMalloc: Win32Pointer): number;
373
+ /** shell32.dll!SHGetNameFromIDList */
374
+ SHGetNameFromIDList(pidl: Win32Pointer, sigdnName: number, ppszName: Win32Pointer): number;
375
+ /** shell32.dll!SHGetNewLinkInfoA */
376
+ SHGetNewLinkInfoA(pszLinkTo: string | Win32Pointer, pszDir: string | Win32Pointer, pszName: string | Win32Pointer, pfMustCopy: Win32Pointer, uFlags: number): number;
377
+ /** shell32.dll!SHGetNewLinkInfoW */
378
+ SHGetNewLinkInfoW(pszLinkTo: string | Win32Pointer, pszDir: string | Win32Pointer, pszName: string | Win32Pointer, pfMustCopy: Win32Pointer, uFlags: number): number;
379
+ /** shell32.dll!SHGetNewLinkInfoW */
380
+ SHGetNewLinkInfo(pszLinkTo: string | Win32Pointer, pszDir: string | Win32Pointer, pszName: string | Win32Pointer, pfMustCopy: Win32Pointer, uFlags: number): number;
381
+ /** shell32.dll!SHGetPathFromIDListA */
382
+ SHGetPathFromIDListA(pidl: Win32Pointer, pszPath: string | Win32Pointer): number;
383
+ /** shell32.dll!SHGetPathFromIDListEx */
384
+ SHGetPathFromIDListEx(pidl: Win32Pointer, pszPath: string | Win32Pointer, cchPath: number, uOpts: number): number;
385
+ /** shell32.dll!SHGetPathFromIDListW */
386
+ SHGetPathFromIDListW(pidl: Win32Pointer, pszPath: string | Win32Pointer): number;
387
+ /** shell32.dll!SHGetPathFromIDListW */
388
+ SHGetPathFromIDList(pidl: Win32Pointer, pszPath: string | Win32Pointer): number;
389
+ /** shell32.dll!SHGetPropertyStoreForWindow */
390
+ SHGetPropertyStoreForWindow(hwnd: Win32Pointer, riid: Win32Pointer, ppv: Win32Pointer): number;
391
+ /** shell32.dll!SHGetPropertyStoreFromIDList */
392
+ SHGetPropertyStoreFromIDList(pidl: Win32Pointer, flags: number, riid: Win32Pointer, ppv: Win32Pointer): number;
393
+ /** shell32.dll!SHGetPropertyStoreFromParsingName */
394
+ SHGetPropertyStoreFromParsingName(pszPath: string | Win32Pointer, pbc: Win32Pointer, flags: number, riid: Win32Pointer, ppv: Win32Pointer): number;
395
+ /** shell32.dll!SHGetRealIDL */
396
+ SHGetRealIDL(psf: Win32Pointer, pidlSimple: Win32Pointer, ppidlReal: Win32Pointer): number;
397
+ /** shell32.dll!SHGetSetFolderCustomSettings */
398
+ SHGetSetFolderCustomSettings(pfcs: Win32Pointer, pszPath: string | Win32Pointer, dwReadWrite: number): number;
399
+ /** shell32.dll!SHGetSetSettings */
400
+ SHGetSetSettings(lpss: Win32Pointer, dwMask: number, bSet: number): void;
401
+ /** shell32.dll!SHGetSettings */
402
+ SHGetSettings(psfs: Win32Pointer, dwMask: number): void;
403
+ /** shell32.dll!SHGetSpecialFolderLocation */
404
+ SHGetSpecialFolderLocation(hwnd: Win32Pointer, csidl: number, ppidl: Win32Pointer): number;
405
+ /** shell32.dll!SHGetSpecialFolderPathA */
406
+ SHGetSpecialFolderPathA(hwnd: Win32Pointer, pszPath: string | Win32Pointer, csidl: number, fCreate: number): number;
407
+ /** shell32.dll!SHGetSpecialFolderPathW */
408
+ SHGetSpecialFolderPathW(hwnd: Win32Pointer, pszPath: string | Win32Pointer, csidl: number, fCreate: number): number;
409
+ /** shell32.dll!SHGetSpecialFolderPathW */
410
+ SHGetSpecialFolderPath(hwnd: Win32Pointer, pszPath: string | Win32Pointer, csidl: number, fCreate: number): number;
411
+ /** shell32.dll!SHGetStockIconInfo */
412
+ SHGetStockIconInfo(siid: number, uFlags: number, psii: Win32Pointer): number;
413
+ /** shell32.dll!SHGetTemporaryPropertyForItem */
414
+ SHGetTemporaryPropertyForItem(psi: Win32Pointer, propkey: Win32Pointer, ppropvar: Win32Pointer): number;
415
+ /** shell32.dll!SHGetUnreadMailCountW */
416
+ SHGetUnreadMailCountW(hKeyUser: Win32Pointer, pszMailAddress: string | Win32Pointer, pdwCount: Win32Pointer, pFileTime: Win32Pointer, pszShellExecuteCommand: string | Win32Pointer, cchShellExecuteCommand: number): number;
417
+ /** shell32.dll!SHHandleUpdateImage */
418
+ SHHandleUpdateImage(pidlExtra: Win32Pointer): number;
419
+ /** shell32.dll!SHILCreateFromPath */
420
+ SHILCreateFromPath(pszPath: string | Win32Pointer, ppidl: Win32Pointer, rgfInOut: Win32Pointer): number;
421
+ /** shell32.dll!SHInvokePrinterCommandA */
422
+ SHInvokePrinterCommandA(hwnd: Win32Pointer, uAction: number, lpBuf1: string | Win32Pointer, lpBuf2: string | Win32Pointer, fModal: number): number;
423
+ /** shell32.dll!SHInvokePrinterCommandW */
424
+ SHInvokePrinterCommandW(hwnd: Win32Pointer, uAction: number, lpBuf1: string | Win32Pointer, lpBuf2: string | Win32Pointer, fModal: number): number;
425
+ /** shell32.dll!SHInvokePrinterCommandW */
426
+ SHInvokePrinterCommand(hwnd: Win32Pointer, uAction: number, lpBuf1: string | Win32Pointer, lpBuf2: string | Win32Pointer, fModal: number): number;
427
+ /** shell32.dll!SHIsFileAvailableOffline */
428
+ SHIsFileAvailableOffline(pwszPath: string | Win32Pointer, pdwStatus: Win32Pointer): number;
429
+ /** shell32.dll!SHLimitInputEdit */
430
+ SHLimitInputEdit(hwndEdit: Win32Pointer, psf: Win32Pointer): number;
431
+ /** shell32.dll!SHLoadInProc */
432
+ SHLoadInProc(rclsid: Win32Pointer): number;
433
+ /** shell32.dll!SHLoadNonloadedIconOverlayIdentifiers */
434
+ SHLoadNonloadedIconOverlayIdentifiers(): number;
435
+ /** shell32.dll!SHMapPIDLToSystemImageListIndex */
436
+ SHMapPIDLToSystemImageListIndex(pshf: Win32Pointer, pidl: Win32Pointer, piIndexSel: Win32Pointer): number;
437
+ /** shell32.dll!SHMultiFileProperties */
438
+ SHMultiFileProperties(pdtobj: Win32Pointer, dwFlags: number): number;
439
+ /** shell32.dll!SHObjectProperties */
440
+ SHObjectProperties(hwnd: Win32Pointer, shopObjectType: number, pszObjectName: string | Win32Pointer, pszPropertyPage: string | Win32Pointer): number;
441
+ /** shell32.dll!SHOpenFolderAndSelectItems */
442
+ SHOpenFolderAndSelectItems(pidlFolder: Win32Pointer, cidl: number, apidl: Win32Pointer, dwFlags: number): number;
443
+ /** shell32.dll!SHOpenPropSheetW */
444
+ SHOpenPropSheetW(pszCaption: string | Win32Pointer, ahkeys: Win32Pointer, ckeys: number, pclsidDefault: Win32Pointer, pdtobj: Win32Pointer, psb: Win32Pointer, pStartPage: string | Win32Pointer): number;
445
+ /** shell32.dll!SHOpenWithDialog */
446
+ SHOpenWithDialog(hwndParent: Win32Pointer, poainfo: Win32Pointer): number;
447
+ /** shell32.dll!SHParseDisplayName */
448
+ SHParseDisplayName(pszName: string | Win32Pointer, pbc: Win32Pointer, ppidl: Win32Pointer, sfgaoIn: number, psfgaoOut: Win32Pointer): number;
449
+ /** shell32.dll!SHPathPrepareForWriteA */
450
+ SHPathPrepareForWriteA(hwnd: Win32Pointer, punkEnableModless: Win32Pointer, pszPath: string | Win32Pointer, dwFlags: number): number;
451
+ /** shell32.dll!SHPathPrepareForWriteW */
452
+ SHPathPrepareForWriteW(hwnd: Win32Pointer, punkEnableModless: Win32Pointer, pszPath: string | Win32Pointer, dwFlags: number): number;
453
+ /** shell32.dll!SHPathPrepareForWriteW */
454
+ SHPathPrepareForWrite(hwnd: Win32Pointer, punkEnableModless: Win32Pointer, pszPath: string | Win32Pointer, dwFlags: number): number;
455
+ /** shell32.dll!SHPropStgCreate */
456
+ SHPropStgCreate(psstg: Win32Pointer, fmtid: Win32Pointer, pclsid: Win32Pointer, grfFlags: number, grfMode: number, dwDisposition: number, ppstg: Win32Pointer, puCodePage: Win32Pointer): number;
457
+ /** shell32.dll!SHPropStgReadMultiple */
458
+ SHPropStgReadMultiple(pps: Win32Pointer, uCodePage: number, cpspec: number, rgpspec: Win32Pointer, rgvar: Win32Pointer): number;
459
+ /** shell32.dll!SHPropStgWriteMultiple */
460
+ SHPropStgWriteMultiple(pps: Win32Pointer, puCodePage: Win32Pointer, cpspec: number, rgpspec: Win32Pointer, rgvar: Win32Pointer, propidNameFirst: number): number;
461
+ /** shell32.dll!SHQueryRecycleBinA */
462
+ SHQueryRecycleBinA(pszRootPath: string | Win32Pointer, pSHQueryRBInfo: Win32Pointer): number;
463
+ /** shell32.dll!SHQueryRecycleBinW */
464
+ SHQueryRecycleBinW(pszRootPath: string | Win32Pointer, pSHQueryRBInfo: Win32Pointer): number;
465
+ /** shell32.dll!SHQueryRecycleBinW */
466
+ SHQueryRecycleBin(pszRootPath: string | Win32Pointer, pSHQueryRBInfo: Win32Pointer): number;
467
+ /** shell32.dll!SHQueryUserNotificationState */
468
+ SHQueryUserNotificationState(pquns: Win32Pointer): number;
469
+ /** shell32.dll!SHRemoveLocalizedName */
470
+ SHRemoveLocalizedName(pszPath: string | Win32Pointer): number;
471
+ /** shell32.dll!SHReplaceFromPropSheetExtArray */
472
+ SHReplaceFromPropSheetExtArray(hpsxa: Win32Pointer, uPageID: number, lpfnReplaceWith: Win32Callback, lParam: number | bigint): number;
473
+ /** shell32.dll!SHResolveLibrary */
474
+ SHResolveLibrary(psiLibrary: Win32Pointer): number;
475
+ /** shell32.dll!SHRestricted */
476
+ SHRestricted(rest: number): number;
477
+ /** shell32.dll!SHSetDefaultProperties */
478
+ SHSetDefaultProperties(hwnd: Win32Pointer, psi: Win32Pointer, dwFileOpFlags: number, pfops: Win32Pointer): number;
479
+ /** shell32.dll!SHSetFolderPathA */
480
+ SHSetFolderPathA(csidl: number, hToken: Win32Pointer, dwFlags: number, pszPath: string | Win32Pointer): number;
481
+ /** shell32.dll!SHSetFolderPathW */
482
+ SHSetFolderPathW(csidl: number, hToken: Win32Pointer, dwFlags: number, pszPath: string | Win32Pointer): number;
483
+ /** shell32.dll!SHSetFolderPathW */
484
+ SHSetFolderPath(csidl: number, hToken: Win32Pointer, dwFlags: number, pszPath: string | Win32Pointer): number;
485
+ /** shell32.dll!SHSetInstanceExplorer */
486
+ SHSetInstanceExplorer(punk: Win32Pointer): void;
487
+ /** shell32.dll!SHSetKnownFolderPath */
488
+ SHSetKnownFolderPath(rfid: Win32Pointer, dwFlags: number, hToken: Win32Pointer, pszPath: string | Win32Pointer): number;
489
+ /** shell32.dll!SHSetLocalizedName */
490
+ SHSetLocalizedName(pszPath: string | Win32Pointer, pszResModule: string | Win32Pointer, idsRes: number): number;
491
+ /** shell32.dll!SHSetTemporaryPropertyForItem */
492
+ SHSetTemporaryPropertyForItem(psi: Win32Pointer, propkey: Win32Pointer, propvar: Win32Pointer): number;
493
+ /** shell32.dll!SHSetUnreadMailCountW */
494
+ SHSetUnreadMailCountW(pszMailAddress: string | Win32Pointer, dwCount: number, pszShellExecuteCommand: string | Win32Pointer): number;
495
+ /** shell32.dll!SHShellFolderView_Message */
496
+ SHShellFolderView_Message(hwndMain: Win32Pointer, uMsg: number, lParam: number | bigint): number | bigint;
497
+ /** shell32.dll!SHShowManageLibraryUI */
498
+ SHShowManageLibraryUI(psiLibrary: Win32Pointer, hwndOwner: Win32Pointer, pszTitle: string | Win32Pointer, pszInstruction: string | Win32Pointer, lmdOptions: number): number;
499
+ /** shell32.dll!SHSimpleIDListFromPath */
500
+ SHSimpleIDListFromPath(pszPath: string | Win32Pointer): number | null;
501
+ /** shell32.dll!SHStartNetConnectionDialogW */
502
+ SHStartNetConnectionDialogW(hwnd: Win32Pointer, pszRemoteName: string | Win32Pointer, dwType: number): number;
503
+ /** shell32.dll!SHTestTokenMembership */
504
+ SHTestTokenMembership(hToken: Win32Pointer, ulRID: number): number;
505
+ /** shell32.dll!SHUpdateImageA */
506
+ SHUpdateImageA(pszHashItem: string | Win32Pointer, iIndex: number, uFlags: number, iImageIndex: number): void;
507
+ /** shell32.dll!SHUpdateImageW */
508
+ SHUpdateImageW(pszHashItem: string | Win32Pointer, iIndex: number, uFlags: number, iImageIndex: number): void;
509
+ /** shell32.dll!SHUpdateImageW */
510
+ SHUpdateImage(pszHashItem: string | Win32Pointer, iIndex: number, uFlags: number, iImageIndex: number): void;
511
+ /** shell32.dll!SHValidateUNC */
512
+ SHValidateUNC(hwndOwner: Win32Pointer, pszFile: string | Win32Pointer, fConnect: number): number;
513
+ /** shell32.dll!SetCurrentProcessExplicitAppUserModelID */
514
+ SetCurrentProcessExplicitAppUserModelID(AppID: string | Win32Pointer): number;
515
+ /** shell32.dll!ShellAboutA */
516
+ ShellAboutA(hWnd: Win32Pointer, szApp: string | Win32Pointer, szOtherStuff: string | Win32Pointer, hIcon: Win32Pointer): number;
517
+ /** shell32.dll!ShellAboutW */
518
+ ShellAboutW(hWnd: Win32Pointer, szApp: string | Win32Pointer, szOtherStuff: string | Win32Pointer, hIcon: Win32Pointer): number;
519
+ /** shell32.dll!ShellAboutW */
520
+ ShellAbout(hWnd: Win32Pointer, szApp: string | Win32Pointer, szOtherStuff: string | Win32Pointer, hIcon: Win32Pointer): number;
521
+ /** shell32.dll!ShellExecuteA */
522
+ ShellExecuteA(hwnd: Win32Pointer, lpOperation: string | Win32Pointer, lpFile: string | Win32Pointer, lpParameters: string | Win32Pointer, lpDirectory: string | Win32Pointer, nShowCmd: number): number | null;
523
+ /** shell32.dll!ShellExecuteExA */
524
+ ShellExecuteExA(pExecInfo: Win32Pointer): number;
525
+ /** shell32.dll!ShellExecuteExW */
526
+ ShellExecuteExW(pExecInfo: Win32Pointer): number;
527
+ /** shell32.dll!ShellExecuteExW */
528
+ ShellExecuteEx(pExecInfo: Win32Pointer): number;
529
+ /** shell32.dll!ShellExecuteW */
530
+ ShellExecuteW(hwnd: Win32Pointer, lpOperation: string | Win32Pointer, lpFile: string | Win32Pointer, lpParameters: string | Win32Pointer, lpDirectory: string | Win32Pointer, nShowCmd: number): number | null;
531
+ /** shell32.dll!ShellExecuteW */
532
+ ShellExecute(hwnd: Win32Pointer, lpOperation: string | Win32Pointer, lpFile: string | Win32Pointer, lpParameters: string | Win32Pointer, lpDirectory: string | Win32Pointer, nShowCmd: number): number | null;
533
+ /** shell32.dll!Shell_GetCachedImageIndex */
534
+ Shell_GetCachedImageIndex(pwszIconPath: string | Win32Pointer, iIconIndex: number, uIconFlags: number): number;
535
+ /** shell32.dll!Shell_GetCachedImageIndexA */
536
+ Shell_GetCachedImageIndexA(pszIconPath: string | Win32Pointer, iIconIndex: number, uIconFlags: number): number;
537
+ /** shell32.dll!Shell_GetCachedImageIndexW */
538
+ Shell_GetCachedImageIndexW(pszIconPath: string | Win32Pointer, iIconIndex: number, uIconFlags: number): number;
539
+ /** shell32.dll!Shell_GetImageLists */
540
+ Shell_GetImageLists(phiml: Win32Pointer, phimlSmall: Win32Pointer): number;
541
+ /** shell32.dll!Shell_MergeMenus */
542
+ Shell_MergeMenus(hmDst: Win32Pointer, hmSrc: Win32Pointer, uInsert: number, uIDAdjust: number, uIDAdjustMax: number, uFlags: number): number;
543
+ /** shell32.dll!Shell_NotifyIconA */
544
+ Shell_NotifyIconA(dwMessage: number, lpData: Win32Pointer): number;
545
+ /** shell32.dll!Shell_NotifyIconGetRect */
546
+ Shell_NotifyIconGetRect(identifier: Win32Pointer, iconLocation: Win32Pointer): number;
547
+ /** shell32.dll!Shell_NotifyIconW */
548
+ Shell_NotifyIconW(dwMessage: number, lpData: Win32Pointer): number;
549
+ /** shell32.dll!Shell_NotifyIconW */
550
+ Shell_NotifyIcon(dwMessage: number, lpData: Win32Pointer): number;
551
+ /** shell32.dll!SignalFileOpen */
552
+ SignalFileOpen(pidl: Win32Pointer): number;
553
+ /** shell32.dll!StgMakeUniqueName */
554
+ StgMakeUniqueName(pstgParent: Win32Pointer, pszFileSpec: string | Win32Pointer, grfMode: number, riid: Win32Pointer, ppv: Win32Pointer): number;
555
+ /** shell32.dll!Win32DeleteFile */
556
+ Win32DeleteFile(pszPath: string | Win32Pointer): number;
557
+ /** shell32.dll!WriteCabinetState */
558
+ WriteCabinetState(pcs: Win32Pointer): number;
559
+ }
560
+
561
+ declare const family: Win32Family & Functions;
562
+ 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-shell32",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "71.0.30-preview",
4
+ "description": "bun:windows Win32 family for shell32.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
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.