|
|
|
|
|
Dicas
|
|
Visual Basic (Windows)
|
|
|
Título da Dica: Lista completa de APIS da dll "Shell32.dll"
|
|
|
|
Postada em 21/10/2004 por Josefh Hennyere
Option Explicit
Public Declare Sub SHAddToRecentDocs Lib "shell32.dll" (ByVal uFlags As Long, pVoid As Any) Public Declare Function SHAppBarMessage Lib "shell32.dll" (ByVal dwMessage As Long, pData As APPBARDATA) As Long Public Declare Function SHAutoComplete Lib "shlwapi.dll" (ByVal hwndEdit As Long, ByVal dwFlags As Long) As Long Public Declare Function SHBindToParent Lib "shell32.dll" (idl As Any, riid As UUID, ppv As Any, ppidlMax As Any) As Long Public Declare Function SHBrowseForFolder Lib "shell32.dll" (lpbi As BROWSEINFO) As Long Public Declare Sub SHChangeNotify Lib "shell32.dll" (ByVal wEventId As Long, ByVal uFlags As Long, ByVal dwItem1 As Long, ByVal dwItem2 As Long) Public Declare Function SHCopyKey Lib "shlwapi.dll" Alias "SHCopyKeyA" (ByVal hkeySrc As Long, szSrcSubKey As Any, ByVal hkeyDest As Long, ByVal fReserved As Long) As Long Public Declare Function SHCreateDirectoryEx Lib "shell32.dll" Alias "SHCreateDirectoryExA" (ByVal hWnd As Long, szPath As Any, psa As Any) As Long Public Declare Function SHCreateShellPalette Lib "shlwapi.dll" (ByVal hDC As Long) As Long Public Declare Function SHCreateStreamOnFile Lib "shlwapi.dll" Alias "SHCreateStreamOnFileA" (szFile As Any, ByVal grfMode As Long, ppstm As IStream) As Long Public Declare Function SHCreateStreamOnFileEx Lib "shlwapi.dll" Alias "SHCreateStreamOnFileExA" (szFile As Any, ByVal grfMode As Long, ByVal dwAttributes As Long, ByVal fCreate As Long, ByVal pstmTemplate As IStream, ppstm As IStream) As Long Public Declare Function SHCreateThread Lib "shlwapi.dll" (ByVal pfnThreadProc As Long, pData As Any, ByVal dwFlags As Long, ByVal pfnCallback As Long) As Long Public Declare Function SHDeleteEmptyKey Lib "shlwapi.dll" Alias "SHDeleteEmptyKeyA" (ByVal hKey As Long, szSubkey As Any) As Long Public Declare Function SHDeleteKey Lib "shlwapi.dll" Alias "SHDeleteKeyA" (ByVal hKey As Long, szSubkey As Any) As Long Public Declare Function SHDeleteValue Lib "shlwapi.dll" Alias "SHDeleteValueA" (ByVal hKey As Long, szSubkey As Any, szValue As Any) As Long Public Declare Function Shell_NotifyIcon Lib "shell32.dll" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pData As NOTIFYICONDATAA) As Long Public Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hWnd As Long, szApp As Any, szOtherStuff As Any, ByVal hIcon As Long) As Long Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, lpOperation As Any, lpFile As Any, lpParameters As Any, lpDirectory As Any, ByVal nShowCmd As Long) As Long Public Declare Function ShellExecuteEx Lib "shell32.dll" Alias "ShellExecuteExA" (lpExecInfo As SHELLEXECUTEINFOA) As Long Public Declare Function SHEmptyRecycleBin Lib "shell32.dll" Alias "SHEmptyRecycleBinA" (ByVal hWnd As Long, szRootPath As Any, ByVal dwFlags As Long) As Long Public Declare Function SHEnableServiceObject Lib "shell32.dll" (rclsid As CLSID, ByVal fEnable As Long) As Long Public Declare Function SHEnumerateUnreadMailAccounts Lib "shell32.dll" (ByVal hKeyUser As Long, ByVal dwIndex As Long, wszMailAddress As Any, ByVal cchMailAddress As Long) As Long Public Declare Function SHEnumKeyEx Lib "shlwapi.dll" Alias "SHEnumKeyExA" (ByVal hKey As Long, ByVal dwIndex As Long, szName As Any, cchName As Long) As Long Public Declare Function SHEnumValue Lib "shlwapi.dll" Alias "SHEnumValueA" (ByVal hKey As Long, ByVal dwIndex As Long, szValueName As Any, cchValueName As Long, dwType As Long, pvData As Any, cbData As Long) As Long Public Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long Public Declare Sub SHFreeNameMappings Lib "shell32.dll" (ByVal hNameMappings As Long) Public Declare Function SHGetDataFromIDList Lib "shell32.dll" Alias "SHGetDataFromIDListA" (pFolder As IShellFolder, pidl As Any, ByVal nFormat As Long, pv As Any, ByVal cb As Long) As Long Public Declare Function SHGetDesktopFolder Lib "shell32.dll" (pFolder As IShellFolder) As Long Public Declare Function SHGetDiskFreeSpace Lib "shell32.dll" Alias "SHGetDiskFreeSpaceA" (szVolume As Any, pqwFreeCaller As ULARGE_INTEGER, pqwTotal As ULARGE_INTEGER, pqwFree As ULARGE_INTEGER) As Long Public Declare Function SHGetFileInfo Lib "shell32.dll" Alias "SHGetFileInfoA" (pszPath As Any, ByVal dwFileAttributes As Long, psfi As SHFILEINFOA, ByVal cbFileInfo As Long, ByVal uFlags As Long) As Long Public Declare Function SHGetFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, ByVal hToken As Long, ByVal dwReserved As Long, ppidl As Any) As Long Public Declare Function SHGetFolderPath Lib "shfolder.dll" Alias "SHGetFolderPathA" (ByVal hwndOwner As Long, ByVal nFolder As Long, ByVal hToken As Long, ByVal dwFlag As Long, szPath As Any) As Long Public Declare Function SHGetFolderPathAndSubDir Lib "shell32.dll" Alias "SHGetFolderPathAndSubDirA" (ByVal hWnd As Long, ByVal csidl As Long, ByVal hToken As Long, ByVal dwFlags As Long, szSubDir As Any, szPath As Any) As Long Public Declare Function SHGetIconOverlayIndex Lib "shell32.dll" Alias "SHGetIconOverlayIndexA" (szIconPath As Any, ByVal iIconIndex As Long) As Long Public Declare Function SHGetImageList Lib "shell32.dll" (ByVal iImageList As Long, riid As IID, ppv As Any) As Long Public Declare Function SHGetInstanceExplorer Lib "shell32.dll" (ppunk As Object) As Long Public Declare Function SHGetMalloc Lib "shell32.dll" (ppMalloc As IMalloc) As Long Public Declare Function SHGetNewLinkInfo Lib "shell32.dll" (szLinkTo As Any, szDir As Any, szName As Any, fMustCopy As Long, ByVal uFlags As Long) As Long Public Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" (pidl As Any, szPath As Any) As Long Public Declare Sub SHGetSettings Lib "shell32.dll" (lpsfs As Long, ByVal dwMask As Long) Public Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, ppidl As Any) As Long Public Declare Function SHGetSpecialFolderPath Lib "shell32.dll" Alias "SHGetSpecialFolderPathA" (ByVal hwndOwner As Long, szPath As Any, ByVal nFolder As csidl, ByVal fCreate As Long) As Long Public Declare Function SHGetThreadRef Lib "shlwapi.dll" (ppunk As Any) As Long Public Declare Function SHGetUnreadMailCount Lib "shell32.dll" Alias "SHGetUnreadMailCountA" (ByVal hKeyUser As Long, szMailAddress As Any, dwCount As Long, pFileTime As FILETIME, szShellExecuteCommand As Any, ByVal cchShellExecuteCommand As Long) As Long Public Declare Function SHGetValue Lib "shlwapi.dll" Alias "SHGetValueA" (ByVal hKey As Long, szSubkey As Any, szValue As Any, pdwType As Long, pvData As Any, cbData As Long) As Long Public Declare Function SHInvokePrinterCommand Lib "shell32.dll" Alias "SHInvokePrinterCommandA" (ByVal hWnd As Long, ByVal uAction As Long, lpszBuf1 As Any, lpszBuf2 As Any, ByVal fModal As Long) As Long Public Declare Function SHIsFileAvailableOffline Lib "shell32.dll" Alias "SHIsFileAvailableOfflineA" (szPath As Any, dwStatus As Long) As Long Public Declare Function SHLoadIndirectString Lib "shlwapi.dll" (wszSource As Any, wszOutBuf As Any, ByVal cchOutBuf As Long, ByVal ppvReserved As Long) As Long Public Declare Function SHLoadInProc Lib "shell32.dll" (rclsid As UUID) As Long Public Declare Function SHLoadNonloadedIconOverlayIdentifiers Lib "shell32.dll" () As Long Public Declare Function SHOpenFolderAndSelectItems Lib "shell32.dll" (pidlFolder As Any, ByVal cidl As Long, apidl As Any, ByVal dwFlags As Long) As Long Public Declare Function SHOpenRegStream Lib "shlwapi.dll" Alias "SHOpenRegStreamA" (ByVal hKey As Long, szSubkey As Any, szValue As Any, ByVal grfMode As Long) As IStream Public Declare Function SHOpenRegStream2 Lib "shlwapi.dll" Alias "SHOpenRegStream2A" (ByVal hKey As Long, szSubkey As Any, szValue As Any, ByVal grfMode As Long) As Long Public Declare Function SHParseDisplayName Lib "shell32.dll" (wszName As Any, pbc As IBindCtx, ppidl As Any, ByVal sfgaoIn As SFGAOF, psfgaoOut As SFGAOF) As Long Public Declare Function SHPathPrepareForWrite Lib "shell32.dll" Alias "SHPathPrepareForWriteA" (ByVal hWnd As Long, punkEnableModless As IUnknown, szPath As Any, ByVal dwFlags As Long) As Long Public Declare Function SHQueryInfoKey Lib "shlwapi.dll" Alias "SHQueryInfoKeyA" (ByVal hKey As Long, szSubkey As Any, cchMaxSubKeyLen As Long, cValues As Long, cchMaxValueNameLen As Long) As Long Public Declare Function SHQueryRecycleBin Lib "shell32.dll" Alias "SHQueryRecycleBinA" (szRootPath As Any, pSHQueryRBInfo As SHQUERYRBINFO) As Long Public Declare Function SHQueryValueEx Lib "shlwapi.dll" Alias "SHQueryInfoKeyA" (ByVal hKey As Long, szValue As Any, cchMaxSubKeyLen As Long, dwReserved As Long, dwType As Long, pvData As Any, cbData As Long) As Long Public Declare Function SHRegCloseUSKey Lib "shlwapi.dll" (ByVal hUSKey As Long) As Long Public Declare Function SHRegCreateUSKey Lib "shlwapi.dll" Alias "SHQueryInfoKeyA" (szPath As Any, samDesired As Any, ByVal hRelativeUSKey As Long, hNewUSKey As Long, ByVal dwFlags As Long) As Long Public Declare Function SHRegDeleteEmptyUSKey Lib "shlwapi.dll" Alias "SHRegDeleteEmptyUSKeyA" (ByVal hUSKey As Long, szValue As Any, ByVal delRegFlags As Long) As Long Public Declare Function SHRegDeleteUSValue Lib "shlwapi.dll" Alias "SHRegDeleteUSValueA" (ByVal hUSKey As Long, szValue As Any, ByVal delRegFlags As Long) As Long Public Declare Function SHRegDuplicateHKey Lib "shlwapi.dll" (ByVal hKey As Long) As Long Public Declare Function SHRegEnumUSKey Lib "shlwapi.dll" Alias "SHRegEnumUSKeyA" (ByVal hUSKey As Long, ByVal dwIndex As Long, szName As Any, cchName As Long, ByVal enumRegFlags As Long) As Long Public Declare Function SHRegEnumUSValue Lib "shlwapi.dll" Alias "SHRegEnumUSValueA" (ByVal hUSKey As Long, ByVal dwIndex As Long, szValueName As Any, cchValueNameLen As Long, dwType As Long, pvData As Any, cbData As Long, ByVal enumRegFlags As Long) As L Public Declare Function SHRegGetBoolUSValue Lib "shlwapi.dll" Alias "SHRegGetBoolUSValueA" (szSubkey As Any, szValue As Any, ByVal fIgnoreHKCU As Long, ByVal fDefault As Long) As Long Public Declare Function SHRegGetInt Lib "shlwapi.dll" Alias "SHRegGetIntA" (ByVal hk As Long, szKey As Any, ByVal nDefault As Long) As Long Public Declare Function SHRegGetPath Lib "shlwapi.dll" Alias "SHRegGetPathA" (ByVal hk As Long, szSubkey As Any, szValue As Any, szPath As Any, ByVal dwFlags As Long) As Long Public Declare Function SHRegGetUSValue Lib "shlwapi.dll" Alias "SHRegGetUSValueA" (szSubkey As Any, szValue As Any, dwType As Long, pvData As Any, cbData As Long, ByVal fIgnoreHKCU As Long, lpDefaultData As Any, ByVal dwDefaultDataSize As Long) As Long Public Declare Function SHRegOpenUSKey Lib "shlwapi.dll" Alias "SHRegOpenUSKeyA" (szPath As Any, samDesired As Any, ByVal hRelativeUSKey As Long, hNewUSKey As Long, ByVal fIgnoreHKCU As Long) As Long Public Declare Function SHRegQueryInfoUSKey Lib "shlwapi.dll" Alias "SHRegQueryInfoUSKeyA" (ByVal hUSKey As Long, pcSubKeys As Long, cchMaxSubKeyLen As Long, pcValues As Long, cchMaxValueNameLen As Long, ByVal enumRegFlags As Long) As Long Public Declare Function SHRegQueryUSValue Lib "shlwapi.dll" Alias "SHRegQueryUSValueA" (ByVal hUSKey As Long, szValue As Any, dwType As Long, pvData As Any, cbData As Long, ByVal fIgnoreHKCU As Long, pvDefaultData As Any, ByVal dwDefaultDataSize As Long) Public Declare Function SHRegSetPath Lib "shlwapi.dll" Alias "SHRegSetPathA" (ByVal hUSKey As Long, szSubkey As Any, szValue As Any, szPath As Any, ByVal dwFlags As Long) As Long Public Declare Function SHRegSetUSValue Lib "shlwapi.dll" Alias "SHRegSetUSValueA" (szSubkey As Any, szValue As Any, ByVal dwType As Long, pvData As Any, ByVal cbData As Long, ByVal dwFlags As Long) As Long Public Declare Function SHRegWriteUSValue Lib "shlwapi.dll" Alias "SHRegWriteUSValueA" (ByVal hUSKey As Long, szValue As Any, ByVal dwType As Long, pvData As Any, ByVal cbData As Long, ByVal dwFlags As Long) As Long Public Declare Function SHReleaseThreadRef Lib "shlwapi.dll" () As Long Public Declare Function SHSetLocalizedName Lib "shell32.dll" (wszPath As Any, wszResModule As Any, ByVal idsRes As SFGAOF) As Long Public Declare Function SHSetThreadRef Lib "shlwapi.dll" (ppunk As Any) As Long Public Declare Function SHSetUnreadMailCount Lib "shell32.dll" Alias "SHSetUnreadMailCountA" (szMailAddress As Any, ByVal dwCount As Any, szShellExecuteCommand As Any) As Long Public Declare Function SHSetValue Lib "shlwapi.dll" Alias "SHSetValueA" (ByVal hUSKey As Long, szSubkey As Any, szValue As Any, ByVal dwType As Long, pvData As Any, ByVal cbData As Long) As Long Public Declare Function SHSkipJunction Lib "shlwapi.dll" Alias "PathUnquoteSpacesA" (pbc As IBindCtx, pclsid As UUID) As Long Public Declare Function SHStrDup Lib "shlwapi.dll" Alias "SHStrDupA" (szSource As Any, ppwszTarget As Any) As Long Public Declare Sub SHUpdateImage Lib "shell32.dll" Alias "SHUpdateImageA" (szHashItem As Any, ByVal iIndex As Long, ByVal uFlags As Long, ByVal iImageIndex As Long) Public Declare Function SoftwareUpdateMessageBox Lib "shell32.dll" (ByVal hWnd As Long, szDistUnit As Any, ByVal dwFlags As Long, psdi As SOFTDISTINFO) As Long Public Declare Function StrCat Lib "shlwapi.dll" Alias "StrCatA" (psz1 As Any, psz2 As Any) As Long Public Declare Function StrCatBuff Lib "shlwapi.dll" Alias "StrCatBuffA" (szDestination As Any, szSource As Any, ByVal cchDestBuffSize As Long) As Long Public Declare Function StrChr Lib "shlwapi.dll" Alias "StrChrA" (szStart As Any, ByVal wMatch As Integer) As Long Public Declare Function StrChrI Lib "shlwapi.dll" Alias "StrChrIA" (szStart As Any, ByVal wMatch As Integer) As Long Public Declare Function StrCmp Lib "shlwapi.dll" Alias "StrCmpA" (szStr1 As Any, szStr2 As Any) As Long Public Declare Function StrCmpI Lib "shlwapi.dll" Alias "StrCmpA" (szStr1 As Any, szStr2 As Any) As Long Public Declare Function StrCmpN Lib "shlwapi.dll" Alias "StrCmpNA" (szStr1 As Any, szStr2 As Any, ByVal nChar As Long) As Long Public Declare Function StrCmpNI Lib "shlwapi.dll" Alias "StrCmpNIA" (szStr1 As Any, szStr2 As Any, ByVal nChar As Long) As Long Public Declare Function StrCpy Lib "shlwapi.dll" Alias "StrCpyA" (szStr1 As Any, szStr2 As Any) As Long Public Declare Function StrCpyN Lib "shlwapi.dll" Alias "StrCpyNA" (szStr1 As Any, szStr2 As Any, ByVal cchMax As Long) As Long Public Declare Function StrCSpn Lib "shlwapi.dll" Alias "StrCSpnA" (szStr1 As Any, szSet As Any) As Long Public Declare Function StrCSpnI Lib "shlwapi.dll" Alias "StrCSpnIA" (szStr1 As Any, szSet As Any) As Long Public Declare Function StrDup Lib "shlwapi.dll" Alias "StrDupA" (szStr As Any) As Long Public Declare Function StrFormatByteSize Lib "shlwapi.dll" Alias "StrFormatByteSizeA" (ByVal dw As Long, szBuf As Any, ByVal cchBuf As Long) As Long Public Declare Function StrFormatByteSize64 Lib "shlwapi.dll" Alias "StrFormatByteSize64A" (ByVal qdw As Currency, szBuf As Any, ByVal uiBufSize As Long) As Long Public Declare Function StrFormatKBSize Lib "shlwapi.dll" Alias "StrFormatKBSizeA" (ByVal qdw As Currency, szBuf As Any, ByVal uiBufSize As Long) As Long Public Declare Function StrFromTimeInterval Lib "shlwapi.dll" Alias "StrFromTimeIntervalA" (szOut As Any, ByVal cchMax As Long, ByVal dwTimeMS As Long, ByVal digits As Long) As Long Public Declare Function StrIsIntlEqual Lib "shlwapi.dll" Alias "StrIsIntlEqualA" (ByVal fCaseSens As Long, lpszString1 As Any, lpszString2 As Any, ByVal nChar As Long) As Long Public Declare Function StrNCat Lib "shlwapi.dll" Alias "StrNCatA" (szFront As Any, szBack As Any, ByVal cchMax As Long) As Long Public Declare Function StrPBrk Lib "shlwapi.dll" Alias "StrNCatA" (szDest As Any, szSet As Any) As Long Public Declare Function StrRChr Lib "shlwapi.dll" Alias "StrRChrA" (lpszStart As Any, lpszEnd As Any, ByVal wMatch As Integer) As Long Public Declare Function StrRChrI Lib "shlwapi.dll" Alias "StrRChrIA" (lpszStart As Any, lpszEnd As Any, ByVal wMatch As Integer) As Long Public Declare Function StrRetToBuf Lib "shlwapi.dll" Alias "StrRetToBufA" (pstr As STRRET, pidl As Any, szBuf As Any, ByVal cchBuf As Long) As Long Public Declare Function StrRetToStr Lib "shlwapi.dll" Alias "StrRetToStrA" (pstr As STRRET, pidl As Any, ppszName As Any) As Long Public Declare Function StrRStrI Lib "shlwapi.dll" Alias "StrRStrIA" (szSource As Any, szMax As Any, szSearch As Any) As Long Public Declare Function StrSpn Lib "shlwapi.dll" Alias "StrSpnA" (szDest As Any, szSet As Any) As Long Public Declare Function StrStr Lib "shlwapi.dll" Alias "StrStrA" (lpszMin As Any, lpszSearch As Any) As Long Public Declare Function StrStrI Lib "shlwapi.dll" Alias "StrStrIA" (lpszMin As Any, lpszSearch As Any) As Long Public Declare Function StrToInt Lib "shlwapi.dll" Alias "StrToIntA" (lpszSrc As Any) As Long Public Declare Function StrToInt64Ex Lib "shlwapi.dll" Alias "StrToInt64ExA" (lpszString As Any, ByVal dwFlags As Long, llRet As Currency) As Long Public Declare Function StrToIntEx Lib "shlwapi.dll" Alias "StrToIntExA" (lpszString As Any, ByVal dwFlags As Long, iRet As Long) As Long Public Declare Function StrTrim Lib "shlwapi.dll" Alias "StrTrimA" (szSource As Any, szTrimChars As Any) As Long Public Declare Function ChrCmpI Lib "shlwapi.dll" Alias "ChrCmpIA" (ByVal w1 As Byte, ByVal w2 As Byte) As Long Public Declare Function ColorAdjustLuma Lib "shlwapi.dll" (ByVal clrRGB As Long, ByVal n As Long, ByVal fScale As Long) As Long Public Declare Function ColorHLSToRGB Lib "shlwapi.dll" (ByVal wHue As Integer, ByVal wLuminance As Integer, ByVal wSaturation As Integer) As Long Public Declare Function ColorRGBToHLS Lib "shlwapi.dll" (ByVal clrRGB As Long, wHue As Integer, wLuminance As Integer, wSaturation As Integer) As Long Public Declare Function CreateEnvironmentBlock Lib "userenv.dll" (lpEnvironment As Any, ByVal hToken As Long, ByVal bInherit As Long) As Long Public Declare Function CreateHardwareEventMoniker Lib "Shsvcs.dll" (rclsid As CLSID, szEventHandler As Any, ppmoniker As IMoniker) As Long Public Declare Function DeleteProfile Lib "userenv.dll" Alias "DeleteProfileA" (lpSidString As Any, lpProfilePath As Any, lpComputerName As Any) As Long Public Declare Function DestroyEnvironmentBlock Lib "userenv.dll" (lpEnvironment As Any) As Long Public Declare Function DoEnvironmentSubst Lib "shell32.dll" Alias "DoEnvironmentSubstA" (szString As Any, ByVal cchString As Long) As Long Public Declare Sub DragAcceptFiles Lib "shell32.dll" (ByVal hWnd As Long, ByVal bVal As Long) Public Declare Sub DragFinish Lib "shell32.dll" (ByVal pHDROP As Long) Public Declare Function DragQueryFile Lib "shell32.dll" Alias "DragQueryFileA" (ByVal hDrop As Long, ByVal iFile As Long, lpszFile As Any, ByVal cch As Long) As Long Public Declare Function DragQueryPoint Lib "shell32.dll" (ByVal pHDROP As Long, pLPPOINT As Point) As Long Public Declare Function DuplicateIcon Lib "shell32.dll" (ByVal hInst As Long, ByVal hIcon As Long) As Long Public Declare Function ExpandEnvironmentStringsForUser Lib "userenv.dll" Alias "ExpandEnvironmentStringsForUserA" (ByVal hToken As Long, lpSrc As Any, lpDest As Any, ByVal dwSize As Long) As Long Public Declare Function ExtractAssociatedIcon Lib "shell32.dll" Alias "ExtractAssociatedIconA" (ByVal hInst As Long, lpIconPath As Any, lpiIcon As Integer) As Long Public Declare Function ExtractIcon Lib "shell32.dll" Alias "ExtractIconA" (ByVal hInst As Long, lpszExeFileName As Any, ByVal nIconIndex As Long) As Long Public Declare Function ExtractIconEx Lib "shell32.dll" Alias "ExtractIconExA" (lpszFile As Any, ByVal nIconIndex As Long, phiconLarge As Long, phiconSmall As Long, ByVal nIcons As Long) As Long Public Declare Function GetAllUsersProfileDirectory Lib "userenv.dll" Alias "GetAllUsersProfileDirectoryA" (lpProfileDir As Any, lpcchSize As Long) As Long Public Declare Function GetDefaultUserProfileDirectory Lib "userenv.dll" Alias "GetDefaultUserProfileDirectoryA" (lpProfileDir As Any, lpcchSize As Long) As Long Public Declare Function GetProfilesDirectory Lib "userenv.dll" Alias "GetProfilesDirectoryA" (lpProfilesDir As Any, lpcchSize As Long) As Long Public Declare Function GetProfileType Lib "userenv.dll" (dwFlags As Long) As Long Public Declare Function GetUserProfileDirectory Lib "userenv.dll" Alias "GetUserProfileDirectoryA" (ByVal hToken As Long, lpProfileDir As Any, lpcchSize As Long) As Long Public Declare Function FindEnvironmentString Lib "shell32.dll" Alias "FindEnvironmentStringA" (szEnvVar As Any) As Long Public Declare Function FindExecutable Lib "shell32.dll" Alias "FindExecutableA" (lpszFile As Any, lpszDirectory As Any, lpszResult As Any) As Long Public Declare Function HashData Lib "shlwapi.dll" (pbData As Byte, ByVal cbData As Long, pbHash As Byte, ByVal cbHash As Long) As Long Public Declare Function IntlStrEqWorker Lib "shlwapi.dll" Alias "IntlStrEqWorkerA" (ByVal fCaseSens As Long, pszStr1 As Any, pszStr2 As Any, ByVal nChar As Long) As Long Public Declare Function InetIsOffline Lib "shell32.dll" (ByVal dwFlags As Long) As Long Public Declare Function LoadUserProfile Lib "userenv.dll" Alias "LoadUserProfileA" (ByVal hToken As Long, lpProfileInfo As PROFILEINFOA) As Long Public Declare Function MLLoadLibrary Lib "shlwapi.dll" Alias "MLLoadLibraryA" (szLibFileName As Any, ByVal hFile As Long, ByVal dwFlags As Long, szComponent As Any, ByVal bCrossCodePage As Long) As Long Public Declare Function PathAddBackslash Lib "shlwapi.dll" Alias "PathAddBackslashA" (szPath As Any) As Long Public Declare Function PathAddExtension Lib "shlwapi.dll" Alias "PathAddExtensionA" (szPath As Any, szExtension As Any) As Long Public Declare Function PathAppend Lib "shlwapi.dll" Alias "PathAppendA" (szPath As Any, szMore As Any) As Long Public Declare Function PathBuildRoot Lib "shlwapi.dll" Alias "PathBuildRootA" (szRoot As Any, ByVal iDrive As Long) As Long Public Declare Function PathCanonicalize Lib "shlwapi.dll" Alias "PathCanonicalizeA" (szDst As Any, szSrc As Any) As Long Public Declare Function PathCombine Lib "shlwapi.dll" Alias "PathCombineA" (szDst As Any, szDir As Any, szFile As Any) As Long Public Declare Function PathCommonPrefix Lib "shlwapi.dll" Alias "PathCommonPrefixA" (szFile1 As Any, szFile2 As Any, szPath As Any) As Long Public Declare Function PathCompactPath Lib "shlwapi.dll" Alias "PathCompactPathA" (ByVal hDC As Long, lpszPath As Any, ByVal dx As Long) As Long Public Declare Function PathCompactPathEx Lib "shlwapi.dll" Alias "PathCompactPathExA" (szOut As Any, szSrc As Any, ByVal cchMax As Long, ByVal dwFlag As Long) As Long Public Declare Function PathCreateFromUrl Lib "shlwapi.dll" Alias "PathCreateFromUrlA" (szUrl As Any, szPath As Any, cchPath As Long, ByVal dwReserved As Long) As Long Public Declare Function PathFileExists Lib "shlwapi.dll" Alias "PathFileExistsA" (szPath As Any) As Long Public Declare Function PathFindExtension Lib "shlwapi.dll" Alias "PathFindExtensionA" (szPath As Any) As Long Public Declare Function PathFindFileName Lib "shlwapi.dll" Alias "PathFindFileNameA" (szPath As Any) As Long Public Declare Function PathFindNextComponent Lib "shlwapi.dll" Alias "PathFindNextComponentA" (szPath As Any) As Long Public Declare Function PathFindOnPath Lib "shlwapi.dll" Alias "PathFindOnPathA" (szFile As Any, szOtherDirs As Any) As Long Public Declare Function PathFindSuffixArray Lib "shlwapi.dll" Alias "PathFindSuffixArrayA" (szPath As Any, szSuffix As Any, ByVal iArraySize As Long) As Long Public Declare Function PathGetArgs Lib "shlwapi.dll" Alias "PathGetArgsA" (szPath As Any) As Long Public Declare Function PathGetCharType Lib "shlwapi.dll" Alias "PathGetCharTypeA" (ByVal ch As Byte) As Long Public Declare Function PathGetDriveNumber Lib "shlwapi.dll" Alias "PathGetDriveNumberA" (lpsz As Any) As Long Public Declare Function PathIsContentType Lib "shlwapi.dll" Alias "PathIsContentTypeA" (szPath As Any, szContentType As Any) As Long Public Declare Function PathIsDirectory Lib "shlwapi.dll" Alias "PathIsDirectoryA" (szPath As Any) As Long Public Declare Function PathIsDirectoryEmpty Lib "shlwapi.dll" Alias "PathIsDirectoryA" (szPath As Any) As Long Public Declare Function PathIsFileSpec Lib "shlwapi.dll" Alias "PathIsFileSpecA" (szPath As Any) As Long Public Declare Function PathIsHTMLFile Lib "shlwapi.dll" Alias "PathIsHTMLFileA" (szFile As Any) As Long Public Declare Function PathIsLFNFileSpec Lib "shlwapi.dll" Alias "PathIsLFNFileSpecA" (szName As Any) As Long Public Declare Function PathIsNetworkPath Lib "shlwapi.dll" Alias "PathIsNetworkPathA" (szPath As Any) As Long Public Declare Function PathIsPrefix Lib "shlwapi.dll" Alias "PathIsPrefixA" (szPath As Any, szPrefix As Any) As Long Public Declare Function PathIsRelative Lib "shlwapi.dll" Alias "PathIsRelativeA" (wszPath As Any) As Long Public Declare Function PathIsRoot Lib "shlwapi.dll" Alias "PathIsRootA" (szPath As Any) As Long Public Declare Function PathIsSameRoot Lib "shlwapi.dll" Alias "PathIsSameRootA" (szPath1 As Any, szPath2 As Any) As Long Public Declare Function PathIsSystemFolder Lib "shlwapi.dll" Alias "PathIsSystemFolderA" (szPath As Any, ByVal dwAttrb As Long) As Long Public Declare Function PathIsUNC Lib "shlwapi.dll" Alias "PathIsUNCA" (szPath As Any) As Long Public Declare Function PathIsUNCServer Lib "shlwapi.dll" Alias "PathIsUNCServerA" (szPath As Any) As Long Public Declare Function PathIsUNCServerShare Lib "shlwapi.dll" Alias "PathIsUNCServerShareA" (szPath As Any) As Long Public Declare Function PathIsURL Lib "shlwapi.dll" Alias "PathIsURLA" (szPath As Any) As Long Public Declare Function PathMakePretty Lib "shlwapi.dll" Alias "PathMakePrettyA" (szPath As Any) As Long Public Declare Function PathMakeSystemFolder Lib "shlwapi.dll" Alias "PathMakeSystemFolderA" (szPath As Any) As Long Public Declare Function PathMatchSpec Lib "shlwapi.dll" Alias "PathMatchSpecA" (szFileParam As Any, szSpec As Any) As Long Public Declare Function PathParseIconLocation Lib "shlwapi.dll" Alias "PathParseIconLocationA" (szIconFile As Any) As Long Public Declare Function PathQuoteSpaces Lib "shlwapi.dll" Alias "PathQuoteSpacesA" (lpsz As Any) As Long Public Declare Function PathRelativePathTo Lib "shlwapi.dll" Alias "PathRelativePathToA" (szPath As Any, szFrom As Any, ByVal dwAttrFrom As Long, pszTo As Any, ByVal dwAttrTo As Long) As Long Public Declare Function PathRemoveArgs Lib "shlwapi.dll" Alias "PathRemoveArgsA" (szPath As Any) As Long Public Declare Function PathRemoveBackslash Lib "shlwapi.dll" Alias "PathRemoveBackslashA" (szPath As Any) As Long Public Declare Function PathRemoveBlanks Lib "shlwapi.dll" Alias "PathRemoveBlanksA" (szString As Any) As Long Public Declare Function PathRemoveExtension Lib "shlwapi.dll" Alias "PathRemoveExtensionA" (szPath As Any) As Long Public Declare Function PathRemoveFileSpec Lib "shlwapi.dll" Alias "PathRemoveFileSpecA" (szPath As Any) As Long Public Declare Function PathRenameExtension Lib "shlwapi.dll" Alias "PathRenameExtensionA" (szPath As Any, szExt As Any) As Long Public Declare Function PathSearchAndQualify Lib "shlwapi.dll" Alias "PathSearchAndQualifyA" (cszPath As Any, pszFullyQualifiedPath As Any, ByVal cchFullyQualifiedPath As Long) As Long Public Declare Function PathSetDlgItemPath Lib "shlwapi.dll" Alias "PathSetDlgItemPathA" (ByVal hDlg As Long, ByVal id As Long, szPath As Any) As Long Public Declare Function PathSkipRoot Lib "shlwapi.dll" Alias "PathSkipRootA" (szPath As Any) As Long Public Declare Function PathStripPath Lib "shlwapi.dll" Alias "PathStripPathA" (szPath As Any) As Long Public Declare Function PathStripToRoot Lib "shlwapi.dll" Alias "PathStripToRootA" (szRoot As Any) As Long Public Declare Function PathUndecorate Lib "shlwapi.dll" Alias "PathUndecorateA" (szPath As Any) As Long Public Declare Function PathUnExpandEnvStrings Lib "shlwapi.dll" Alias "PathUnExpandEnvStringsA" (szPath As Any, szBuf As Any, ByVal cchBuf As Long) As Long Public Declare Function PathUnmakeSystemFolder Lib "shlwapi.dll" Alias "PathUnmakeSystemFolderA" (szPath As Any) As Long Public Declare Function PathUnquoteSpaces Lib "shlwapi.dll" Alias "PathUnquoteSpacesA" (lpsz As Any) As Long Public Declare Function TranslateURL Lib "url.dll" Alias "TranslateURLA" (szUrl As Any, ByVal dwInFlags As Long, pszTranslatedURL As Any) As Long Public Declare Function UnloadUserProfile Lib "userenv.dll" (ByVal hToken As Long, ByVal hProfile As Long) As Long Public Declare Function UrlApplyScheme Lib "shlwapi.dll" Alias "UrlApplySchemeA" (szIn As Any, szOut As Any, cchOut As Long, ByVal dwFlags As Long) As Long Public Declare Function URLAssociationDialog Lib "url.dll" Alias "URLAssociationDialogA" (ByVal hWndParent As Long, ByVal dwInFlags As Long, cszFile As Any, cszURL As Any, pszAppBuf As Any, ByVal ucAppBufLen As Long) As Long Public Declare Function UrlCanonicalize Lib "shlwapi.dll" Alias "UrlCanonicalizeA" (szUrl As Any, szCanonicalized As Any, cchCanonicalized As Long, ByVal dwFlags As Long) As Long Public Declare Function UrlCombine Lib "shlwapi.dll" Alias "UrlCombineA" (szBase As Any, szRelative As Any, szCombined As Any, cchCombined As Long, ByVal dwFlags As Long) As Long Public Declare Function UrlCompare Lib "shlwapi.dll" Alias "UrlCombineA" (szURL1 As Any, szURL2 As Any, ByVal fIgnoreSlash As Long) As Long Public Declare Function UrlCreateFromPath Lib "shlwapi.dll" Alias "UrlCreateFromPathA" (szPath As Any, szUrl As Any, cchUrl As Long, ByVal dwReserved As Long) As Long Public Declare Function UrlEscape Lib "shlwapi.dll" Alias "UrlEscapeA" (szUrl As Any, szEscaped As Any, cchEscaped As Long, ByVal dwFlags As Long) As Long Public Declare Function UrlEscapeSpaces Lib "shlwapi.dll" Alias "UrlEscapeSpacesA" (szUrl As Any, szEscaped As Any, cchEscaped As Long) As Long Public Declare Function UrlGetLocation Lib "shlwapi.dll" Alias "UrlEscapeSpacesA" (szUrl As Any) As Long Public Declare Function UrlGetPart Lib "shlwapi.dll" Alias "UrlEscapeSpacesA" (szIn As Any, szOut As Any, cchOut As Long, ByVal dwPart As Long, ByVal dwFlags As Long) As Long Public Declare Function UrlHash Lib "shlwapi.dll" Alias "UrlHashA" (szUrl As Any, bHash As Byte, ByVal cbHash As Long) As Long Public Declare Function UrlIs Lib "shlwapi.dll" Alias "UrlIsA" (szUrl As Any, ByVal UrlIs As Long) As Long Public Declare Function UrlIsFileUrl Lib "shlwapi.dll" Alias "UrlIsFileUrlA" (szUrl As Any) As Long Public Declare Function UrlIsNoHistory Lib "shlwapi.dll" Alias "UrlIsNoHistoryA" (szUrl As Any) As Long Public Declare Function UrlIsOpaque Lib "shlwapi.dll" Alias "UrlIsOpaqueA" (szUrl As Any) As Long Public Declare Function UrlUnescape Lib "shlwapi.dll" Alias "UrlUnescapeA" (szUrl As Any, szUnescaped As Any, cchUnescaped As Long, ByVal dwFlags As Long) As Long Public Declare Function UrlUnescapeInPlace Lib "shlwapi.dll" Alias "UrlUnescapeInPlaceA" (szUrl As Any, ByVal dwFlags As Long) As Long
'Josefh Hennyere
|
|
|
|
|