source: trunk/Include/api_shlwapi.sbp@ 503

Last change on this file since 503 was 497, checked in by イグトランス (egtra), 17 years ago

インクルードガードとその他不要な前処理定義などの削除

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