| 1 | ' api_shlwapi.sbp
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 | #ifndef _INC_SHLWAPI
|
|---|
| 5 | #define _INC_SHLWAPI
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | Declare Function PathGetArgsA Lib "shlwapi" (pszPath As LPCWSTR) As LPWSTR
|
|---|
| 9 | Declare Function PathGetArgsW Lib "shlwapi" (pszPath As LPCSTR) As LPSTR
|
|---|
| 10 | #ifdef UNICODE
|
|---|
| 11 | Declare Function PathGetArgs Lib "shlwapi" Alias "PathGetArgsW" (pszPath As LPCWSTR) As LPWSTR
|
|---|
| 12 | #else
|
|---|
| 13 | Declare Function PathGetArgs Lib "shlwapi" Alias "PathGetArgsA" (pszPath As LPCSTR) As LPSTR
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | Declare Function StrFormatByteSize64W Lib "shlwapi" (ll As Int64, pszBuf As PWSTR, BufSize As DWord) As PWSTR
|
|---|
| 17 | Declare Function StrFormatByteSize64A Lib "shlwapi" (ll As Int64, pszBuf As PSTR, BufSize As DWord) As PSTR
|
|---|
| 18 | #ifdef UNICODE
|
|---|
| 19 | Declare Function StrFormatByteSize64 Lib "shlwapi" Alias "StrFormatByteSize64W" (ll As Int64, pszBuf As PWSTR, BufSize As DWord) As PWSTR
|
|---|
| 20 | #else
|
|---|
| 21 | Declare Function StrFormatByteSize64 Lib "shlwapi" Alias "StrFormatByteSize64A" (ll As Int64, pszBuf As PSTR, BufSize As DWord) As PSTR
|
|---|
| 22 | #endif
|
|---|
| 23 |
|
|---|
| 24 | Declare Function StrFormatKBSizeA Lib "shlwapi" (ByVal Value As Int64, ByVal pszBuf As LPSTR, ByVal uiBuSize As DWord) As LPSTR
|
|---|
| 25 | Declare Function StrFormatKBSizeW Lib "shlwapi" (ByVal Value As Int64, ByVal pszBuf As LPWSTR, ByVal uiBuSize As DWord) As LPWSTR
|
|---|
| 26 | #ifdef UNICODE
|
|---|
| 27 | Declare Function StrFormatKBSize Lib "shlwapi" Alias "StrFormatKBSizeW" (ByVal Value As Int64, ByVal pszBuf As LPWSTR, ByVal uiBuSize As DWord) As LPWSTR
|
|---|
| 28 | #else
|
|---|
| 29 | Declare Function StrFormatKBSize Lib "shlwapi" Alias "StrFormatKBSizeA" (ByVal Value As Int64, ByVal pszBuf As LPSTR, ByVal uiBuSize As DWord) As LPSTR
|
|---|
| 30 | #endif
|
|---|
| 31 |
|
|---|
| 32 | Declare Function StrRetToStrA Lib "shlwapi" (ByRef pstr As STRRET, pidl As *ITEMIDLIST, ByRef pszName As PSTR) As HRESULT
|
|---|
| 33 | Declare Function StrRetToStrW Lib "shlwapi" (ByRef pstr As STRRET, pidl As *ITEMIDLIST, ByRef pszName As PWSTR) As HRESULT
|
|---|
| 34 | #ifdef UNICODE
|
|---|
| 35 | Declare Function StrRetToStr Lib "shlwapi" Alias "StrRetToStrW" (ByRef str As STRRET, pidl As *ITEMIDLIST, ByRef pszName As PWSTR) As HRESULT
|
|---|
| 36 | #else
|
|---|
| 37 | Declare Function StrRetToStr Lib "shlwapi" Alias "StrRetToStrA" (ByRef str As STRRET, pidl As *ITEMIDLIST, ByRef pszName As PSTR) As HRESULT
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 | Declare Function StrChrA Lib "shlwapi" (lpStart As LPCSTR, ch As SByte) As LPSTR
|
|---|
| 41 | Declare Function StrChrW Lib "shlwapi" (lpStart As LPCWSTR, ch As WCHAR) As LPWSTR
|
|---|
| 42 | #ifdef UNICODE
|
|---|
| 43 | Declare Function StrChr Lib "shlwapi" Alias "StrChrW" (lpStart As LPCWSTR, ch As WCHAR) As LPWSTR
|
|---|
| 44 | #else
|
|---|
| 45 | Declare Function StrChr Lib "shlwapi" Alias "StrChrA" (lpStart As LPCSTR, ch As SByte) As LPSTR
|
|---|
| 46 | #endif
|
|---|
| 47 |
|
|---|
| 48 | Declare Function StrStrA Lib "shlwapi" (lpFirst As LPCSTR, lpSrch As LPCSTR) As LPSTR
|
|---|
| 49 | Declare Function StrStrW Lib "shlwapi" (lpFirst As LPCWSTR, lpSrch As LPCWSTR) As LPWSTR
|
|---|
| 50 | #ifdef UNICODE
|
|---|
| 51 | Declare Function StrStr Lib "shlwapi" Alias "StrStrW" (lpFirst As LPCWSTR, lpSrch As LPCWSTR) As LPWSTR
|
|---|
| 52 | #else
|
|---|
| 53 | Declare Function StrStr Lib "shlwapi" Alias "StrStrA" (lpFirst As LPCSTR, lpSrch As LPCSTR) As LPSTR
|
|---|
| 54 | #endif
|
|---|
| 55 |
|
|---|
| 56 | Declare Function StrToIntA Lib "shlwapi" (psz As LPCSTR) As Long
|
|---|
| 57 | Declare Function StrToIntW Lib "shlwapi" (psz As LPCWSTR) As Long
|
|---|
| 58 | #ifdef UNICODE
|
|---|
| 59 | Declare Function StrToInt Lib "shlwapi" Alias "StrToIntW" (psz As LPCWSTR) As Long
|
|---|
| 60 | #else
|
|---|
| 61 | Declare Function StrToInt Lib "shlwapi" Alias "StrToIntA" (psz As LPCSTR) As Long
|
|---|
| 62 | #endif
|
|---|
| 63 |
|
|---|
| 64 | Declare Function PathRenameExtensionA Lib "shlwapi" (pszPath As LPSTR, pszExt As LPCSTR) As BOOL
|
|---|
| 65 | Declare Function PathRenameExtensionW Lib "shlwapi" (pszPath As LPWSTR, pszExt As LPCWSTR) As BOOL
|
|---|
| 66 | #ifdef UNICODE
|
|---|
| 67 | Declare Function PathRenameExtension Lib "shlwapi" Alias "PathRenameExtensionW" (pszPath As LPWSTR, pszExt As LPCWSTR) As BOOL
|
|---|
| 68 | #else
|
|---|
| 69 | Declare Function PathRenameExtension Lib "shlwapi" Alias "PathRenameExtensionA" (pszPath As LPSTR, pszExt As LPCSTR) As BOOL
|
|---|
| 70 | #endif
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 | Declare Function PathRemoveFileSpecA Lib "shlwapi" (pszPath As LPCSTR) As BOOL
|
|---|
| 74 | Declare Function PathRemoveFileSpecW Lib "shlwapi" (pszPath As LPCWSTR) As BOOL
|
|---|
| 75 | #ifdef UNICODE
|
|---|
| 76 | Declare Function PathRemoveFileSpec Lib "shlwapi" Alias "PathRemoveFileSpecW" (pszPath As LPCWSTR) As BOOL
|
|---|
| 77 | #else
|
|---|
| 78 | Declare Function PathRemoveFileSpec Lib "shlwapi" Alias "PathRemoveFileSpecA" (pszPath As LPCSTR) As BOOL
|
|---|
| 79 | #endif
|
|---|
| 80 |
|
|---|
| 81 | Declare Function PathRenameExtensionA Lib "shlwapi" (hKey As HKEY, pszSubKey As LPCSTR) As DWord
|
|---|
| 82 | Declare Function PathRenameExtensionW Lib "shlwapi" (hKey As HKEY, pszSubKey As LPCWSTR) As DWord
|
|---|
| 83 | #ifdef UNICODE
|
|---|
| 84 | Declare Function PathRenameExtension Lib "shlwapi" Alias "PathRenameExtensionW" (hKey As HKEY, pszSubKey As LPCWSTR) As DWord
|
|---|
| 85 | #else
|
|---|
| 86 | Declare Function PathRenameExtension Lib "shlwapi" Alias "PathRenameExtensionA" (hKey As HKEY, pszSubKey As LPCSTR) As DWord
|
|---|
| 87 | #endif
|
|---|
| 88 |
|
|---|
| 89 | #endif '_INC_SHLWAPI
|
|---|