Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function prototypes.
This commit is contained in:
parent
31b8b64682
commit
603f20fc0e
|
@ -7,12 +7,14 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "winbase.h"
|
||||
#include "heap.h"
|
||||
#include "commctrl.h"
|
||||
#include "winerror.h"
|
||||
#include "winreg.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
#include "comctl32.h"
|
||||
#include "debugtools.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "winuser.h"
|
||||
#include "winreg.h"
|
||||
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
#include "filedlgbrowser.h"
|
||||
#include "cdlg.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include "riched32.h"
|
||||
#include "richedit.h"
|
||||
#include "charlist.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
|
||||
#include "rtf.h"
|
||||
|
|
|
@ -22,10 +22,10 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "winreg.h"
|
||||
#include "shlwapi.h"
|
||||
#include "pidl.h"
|
||||
#include "undocshell.h"
|
||||
#include "shell32_main.h"
|
||||
#include "shlwapi.h"
|
||||
|
||||
#include "debugtools.h"
|
||||
|
||||
|
|
|
@ -13,13 +13,14 @@
|
|||
#include "winnls.h"
|
||||
#include "heap.h"
|
||||
|
||||
#include "shlwapi.h"
|
||||
#include "wine/obj_base.h"
|
||||
#include "shellapi.h"
|
||||
#include "shlguid.h"
|
||||
#include "shlobj.h"
|
||||
#include "shell32_main.h"
|
||||
#include "undocshell.h"
|
||||
#include "pidl.h"
|
||||
#include "shlwapi.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(shell);
|
||||
DECLARE_DEBUG_CHANNEL(pidl);
|
||||
|
|
|
@ -485,8 +485,8 @@ BOOL WINAPI PathYetAnotherMakeUniqueNameA(
|
|||
BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs)
|
||||
{
|
||||
if (SHELL_OsIsUnicode())
|
||||
return PathFindOnPathW(sFile, sOtherDirs);
|
||||
return PathFindOnPathA(sFile, sOtherDirs);
|
||||
return PathFindOnPathW(sFile, (LPCWSTR *)sOtherDirs);
|
||||
return PathFindOnPathA(sFile, (LPCSTR *)sOtherDirs);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
|
@ -584,10 +584,6 @@ BOOL WINAPI PathYetAnotherMakeUniqueNameA(
|
|||
LPCSTR lpszShortName,
|
||||
LPCSTR lpszLongName);
|
||||
|
||||
BOOL WINAPI PathFindOnPathAW(
|
||||
LPVOID lpszFile,
|
||||
LPCVOID alpszPaths);
|
||||
|
||||
/* PathCleanupSpec return values */
|
||||
#define PCS_REPLACEDCHARS 0x00000001
|
||||
#define PCS_REMOVEDCHARS 0x00000002
|
||||
|
|
|
@ -44,6 +44,30 @@ static DWORD id2[4] = {0x79eac9ee, 0x11cebaf9, 0xaa00828c, 0x0ba94b00};
|
|||
/* The following schemes were identified in the native version of
|
||||
* SHLWAPI.DLL version 5.50
|
||||
*/
|
||||
typedef enum {
|
||||
URL_SCHEME_INVALID = -1,
|
||||
URL_SCHEME_UNKNOWN = 0,
|
||||
URL_SCHEME_FTP,
|
||||
URL_SCHEME_HTTP,
|
||||
URL_SCHEME_GOPHER,
|
||||
URL_SCHEME_MAILTO,
|
||||
URL_SCHEME_NEWS,
|
||||
URL_SCHEME_NNTP,
|
||||
URL_SCHEME_TELNET,
|
||||
URL_SCHEME_WAIS,
|
||||
URL_SCHEME_FILE,
|
||||
URL_SCHEME_MK,
|
||||
URL_SCHEME_HTTPS,
|
||||
URL_SCHEME_SHELL,
|
||||
URL_SCHEME_SNEWS,
|
||||
URL_SCHEME_LOCAL,
|
||||
URL_SCHEME_JAVASCRIPT,
|
||||
URL_SCHEME_VBSCRIPT,
|
||||
URL_SCHEME_ABOUT,
|
||||
URL_SCHEME_RES,
|
||||
URL_SCHEME_MAXVALUE
|
||||
} URL_SCHEME;
|
||||
|
||||
typedef struct {
|
||||
URL_SCHEME scheme_number;
|
||||
LPCSTR scheme_name;
|
||||
|
|
|
@ -26,3 +26,4 @@ typedef struct {
|
|||
} UNKNOWN_SHLWAPI_2;
|
||||
|
||||
DWORD WINAPI SHLWAPI_2(LPCWSTR x, UNKNOWN_SHLWAPI_2 *y);
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "winerror.h"
|
||||
#include "wine/unicode.h"
|
||||
|
@ -11,6 +12,7 @@
|
|||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "winreg.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
#include "debugtools.h"
|
||||
#include "ordinal.h"
|
||||
|
@ -775,18 +777,18 @@ int WINAPI PathParseIconLocationW(LPWSTR lpszPath)
|
|||
/*************************************************************************
|
||||
* PathFindOnPathA [SHLWAPI.@]
|
||||
*/
|
||||
BOOL WINAPI PathFindOnPathA(LPSTR sFile, LPCSTR sOtherDirs)
|
||||
BOOL WINAPI PathFindOnPathA(LPSTR sFile, LPCSTR *sOtherDirs)
|
||||
{
|
||||
FIXME("%s %s\n",sFile, sOtherDirs);
|
||||
FIXME("%s %p\n",sFile, sOtherDirs);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* PathFindOnPathW [SHLWAPI.@]
|
||||
*/
|
||||
BOOL WINAPI PathFindOnPathW(LPWSTR sFile, LPCWSTR sOtherDirs)
|
||||
BOOL WINAPI PathFindOnPathW(LPWSTR sFile, LPCWSTR *sOtherDirs)
|
||||
{
|
||||
FIXME("%s %s\n",debugstr_w(sFile), debugstr_w(sOtherDirs));
|
||||
FIXME("%s %p\n",debugstr_w(sFile), sOtherDirs);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "winnls.h"
|
||||
#include "winreg.h"
|
||||
#include "debugtools.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
|
@ -483,7 +484,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
|
|||
/*************************************************************************
|
||||
* SHRegQueryInfoUSKeyA [SHLWAPI.@]
|
||||
*/
|
||||
DWORD WINAPI SHRegQueryInfoUSKeyA(
|
||||
LONG WINAPI SHRegQueryInfoUSKeyA(
|
||||
HUSKEY hUSKey, /* [in] */
|
||||
LPDWORD pcSubKeys,
|
||||
LPDWORD pcchMaxSubKeyLen,
|
||||
|
@ -522,7 +523,7 @@ DWORD WINAPI SHRegQueryInfoUSKeyA(
|
|||
/*************************************************************************
|
||||
* SHRegQueryInfoUSKeyW [SHLWAPI.@]
|
||||
*/
|
||||
DWORD WINAPI SHRegQueryInfoUSKeyW(
|
||||
LONG WINAPI SHRegQueryInfoUSKeyW(
|
||||
HUSKEY hUSKey, /* [in] */
|
||||
LPDWORD pcSubKeys,
|
||||
LPDWORD pcchMaxSubKeyLen,
|
||||
|
@ -727,7 +728,7 @@ DWORD WINAPI SHGetValueW(
|
|||
/*************************************************************************
|
||||
* SHSetValueA [SHLWAPI.@]
|
||||
*/
|
||||
HRESULT WINAPI SHSetValueA(
|
||||
DWORD WINAPI SHSetValueA(
|
||||
HKEY hkey,
|
||||
LPCSTR pszSubKey,
|
||||
LPCSTR pszValue,
|
||||
|
@ -749,7 +750,7 @@ HRESULT WINAPI SHSetValueA(
|
|||
/*************************************************************************
|
||||
* SHSetValueW [SHLWAPI.@]
|
||||
*/
|
||||
HRESULT WINAPI SHSetValueW(
|
||||
DWORD WINAPI SHSetValueW(
|
||||
HKEY hkey,
|
||||
LPCWSTR pszSubKey,
|
||||
LPCWSTR pszValue,
|
||||
|
@ -772,9 +773,9 @@ HRESULT WINAPI SHSetValueW(
|
|||
* SHQueryValueExA [SHLWAPI.@]
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI SHQueryValueExA(
|
||||
DWORD WINAPI SHQueryValueExA(
|
||||
HKEY hkey,
|
||||
LPSTR lpValueName,
|
||||
LPCSTR lpValueName,
|
||||
LPDWORD lpReserved,
|
||||
LPDWORD lpType,
|
||||
LPBYTE lpData,
|
||||
|
@ -792,9 +793,9 @@ HRESULT WINAPI SHQueryValueExA(
|
|||
* if the datatype REG_EXPAND_SZ then expand the string and change
|
||||
* *pdwType to REG_SZ.
|
||||
*/
|
||||
HRESULT WINAPI SHQueryValueExW (
|
||||
DWORD WINAPI SHQueryValueExW (
|
||||
HKEY hkey,
|
||||
LPWSTR pszValue,
|
||||
LPCWSTR pszValue,
|
||||
LPDWORD pdwReserved,
|
||||
LPDWORD pdwType,
|
||||
LPVOID pvData,
|
||||
|
@ -814,7 +815,7 @@ HRESULT WINAPI SHQueryValueExW (
|
|||
* According to docs, Win9x RegDeleteKeyA will delete all subkeys, whereas
|
||||
* WinNt/2k will only delete the key if empty.
|
||||
*/
|
||||
HRESULT WINAPI SHDeleteKeyA(
|
||||
DWORD WINAPI SHDeleteKeyA(
|
||||
HKEY hKey,
|
||||
LPCSTR lpszSubKey)
|
||||
{
|
||||
|
@ -880,7 +881,7 @@ HRESULT WINAPI SHDeleteKeyA(
|
|||
* According to docs, Win9x RegDeleteKeyA will delete all subkeys, whereas
|
||||
* WinNt/2k will only delete the key if empty.
|
||||
*/
|
||||
HRESULT WINAPI SHDeleteKeyW(
|
||||
DWORD WINAPI SHDeleteKeyW(
|
||||
HKEY hkey,
|
||||
LPCWSTR pszSubKey)
|
||||
{
|
||||
|
@ -893,9 +894,9 @@ HRESULT WINAPI SHDeleteKeyW(
|
|||
*
|
||||
* Function opens the key, get/set/delete the value, then close the key.
|
||||
*/
|
||||
HRESULT WINAPI SHDeleteValueA(HKEY hkey, LPCSTR pszSubKey, LPCSTR pszValue) {
|
||||
DWORD WINAPI SHDeleteValueA(HKEY hkey, LPCSTR pszSubKey, LPCSTR pszValue) {
|
||||
HKEY subkey;
|
||||
HRESULT hres;
|
||||
DWORD hres;
|
||||
|
||||
hres = RegOpenKeyA(hkey,pszSubKey,&subkey);
|
||||
if (hres)
|
||||
|
@ -910,9 +911,9 @@ HRESULT WINAPI SHDeleteValueA(HKEY hkey, LPCSTR pszSubKey, LPCSTR pszValue) {
|
|||
*
|
||||
* Function opens the key, get/set/delete the value, then close the key.
|
||||
*/
|
||||
HRESULT WINAPI SHDeleteValueW(HKEY hkey, LPCWSTR pszSubKey, LPCWSTR pszValue) {
|
||||
DWORD WINAPI SHDeleteValueW(HKEY hkey, LPCWSTR pszSubKey, LPCWSTR pszValue) {
|
||||
HKEY subkey;
|
||||
HRESULT hres;
|
||||
DWORD hres;
|
||||
|
||||
hres = RegOpenKeyW(hkey,pszSubKey,&subkey);
|
||||
if (hres)
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "winerror.h"
|
||||
#include "winreg.h"
|
||||
#include "debugtools.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "winreg.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
#include "shlobj.h"
|
||||
#include "wine/unicode.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "windef.h"
|
||||
#include "winnls.h"
|
||||
#include "winbase.h"
|
||||
|
@ -12,6 +13,7 @@
|
|||
#include "wine/unicode.h"
|
||||
#include "wininet.h"
|
||||
#include "winreg.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
#include "debugtools.h"
|
||||
#include "ordinal.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "wininet.h"
|
||||
#include "winreg.h"
|
||||
#include "winerror.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
|
||||
#include "internet.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "wininet.h"
|
||||
#include "debugtools.h"
|
||||
#include "winerror.h"
|
||||
#define NO_SHLWAPI_STREAM
|
||||
#include "shlwapi.h"
|
||||
|
||||
#include "internet.h"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue