forked from Mirrors/wine-wine
Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function prototypes.oldstable
parent
31b8b64682
commit
603f20fc0e
|
@ -7,12 +7,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "heap.h"
|
#include "heap.h"
|
||||||
#include "commctrl.h"
|
#include "commctrl.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include "comctl32.h"
|
#include "comctl32.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
|
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include "filedlgbrowser.h"
|
#include "filedlgbrowser.h"
|
||||||
#include "cdlg.h"
|
#include "cdlg.h"
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include "riched32.h"
|
#include "riched32.h"
|
||||||
#include "richedit.h"
|
#include "richedit.h"
|
||||||
#include "charlist.h"
|
#include "charlist.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
|
|
||||||
#include "rtf.h"
|
#include "rtf.h"
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "shlwapi.h"
|
|
||||||
#include "pidl.h"
|
#include "pidl.h"
|
||||||
#include "undocshell.h"
|
#include "undocshell.h"
|
||||||
#include "shell32_main.h"
|
#include "shell32_main.h"
|
||||||
|
#include "shlwapi.h"
|
||||||
|
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,14 @@
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
#include "heap.h"
|
#include "heap.h"
|
||||||
|
|
||||||
#include "shlwapi.h"
|
#include "wine/obj_base.h"
|
||||||
#include "shellapi.h"
|
#include "shellapi.h"
|
||||||
#include "shlguid.h"
|
#include "shlguid.h"
|
||||||
#include "shlobj.h"
|
#include "shlobj.h"
|
||||||
#include "shell32_main.h"
|
#include "shell32_main.h"
|
||||||
#include "undocshell.h"
|
#include "undocshell.h"
|
||||||
#include "pidl.h"
|
#include "pidl.h"
|
||||||
|
#include "shlwapi.h"
|
||||||
|
|
||||||
DEFAULT_DEBUG_CHANNEL(shell);
|
DEFAULT_DEBUG_CHANNEL(shell);
|
||||||
DECLARE_DEBUG_CHANNEL(pidl);
|
DECLARE_DEBUG_CHANNEL(pidl);
|
||||||
|
|
|
@ -485,8 +485,8 @@ BOOL WINAPI PathYetAnotherMakeUniqueNameA(
|
||||||
BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs)
|
BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs)
|
||||||
{
|
{
|
||||||
if (SHELL_OsIsUnicode())
|
if (SHELL_OsIsUnicode())
|
||||||
return PathFindOnPathW(sFile, sOtherDirs);
|
return PathFindOnPathW(sFile, (LPCWSTR *)sOtherDirs);
|
||||||
return PathFindOnPathA(sFile, sOtherDirs);
|
return PathFindOnPathA(sFile, (LPCSTR *)sOtherDirs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|
|
@ -584,10 +584,6 @@ BOOL WINAPI PathYetAnotherMakeUniqueNameA(
|
||||||
LPCSTR lpszShortName,
|
LPCSTR lpszShortName,
|
||||||
LPCSTR lpszLongName);
|
LPCSTR lpszLongName);
|
||||||
|
|
||||||
BOOL WINAPI PathFindOnPathAW(
|
|
||||||
LPVOID lpszFile,
|
|
||||||
LPCVOID alpszPaths);
|
|
||||||
|
|
||||||
/* PathCleanupSpec return values */
|
/* PathCleanupSpec return values */
|
||||||
#define PCS_REPLACEDCHARS 0x00000001
|
#define PCS_REPLACEDCHARS 0x00000001
|
||||||
#define PCS_REMOVEDCHARS 0x00000002
|
#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
|
/* The following schemes were identified in the native version of
|
||||||
* SHLWAPI.DLL version 5.50
|
* 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 {
|
typedef struct {
|
||||||
URL_SCHEME scheme_number;
|
URL_SCHEME scheme_number;
|
||||||
LPCSTR scheme_name;
|
LPCSTR scheme_name;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Internal structures (read "undocumented") used by the
|
* Internal structures (read "undocumented") used by the
|
||||||
* ordinal entry points.
|
* ordinal entry points.
|
||||||
*
|
*
|
||||||
* Determined by experimentation.
|
* Determined by experimentation.
|
||||||
|
@ -11,7 +11,7 @@ typedef struct {
|
||||||
INT sizep1; /* [out] size of scheme (until colon) */
|
INT sizep1; /* [out] size of scheme (until colon) */
|
||||||
LPCSTR ap2; /* [out] pointer following first colon */
|
LPCSTR ap2; /* [out] pointer following first colon */
|
||||||
INT sizep2; /* [out] size of remainder */
|
INT sizep2; /* [out] size of remainder */
|
||||||
INT fcncde; /* [out] function match of p1 (0 if unknown) */
|
INT fcncde; /* [out] function match of p1 (0 if unknown) */
|
||||||
} UNKNOWN_SHLWAPI_1;
|
} UNKNOWN_SHLWAPI_1;
|
||||||
|
|
||||||
DWORD WINAPI SHLWAPI_1(LPCSTR x, UNKNOWN_SHLWAPI_1 *y);
|
DWORD WINAPI SHLWAPI_1(LPCSTR x, UNKNOWN_SHLWAPI_1 *y);
|
||||||
|
@ -22,7 +22,8 @@ typedef struct {
|
||||||
INT sizep1; /* [out] size of scheme (until colon) */
|
INT sizep1; /* [out] size of scheme (until colon) */
|
||||||
LPCWSTR ap2; /* [out] pointer following first colon */
|
LPCWSTR ap2; /* [out] pointer following first colon */
|
||||||
INT sizep2; /* [out] size of remainder */
|
INT sizep2; /* [out] size of remainder */
|
||||||
INT fcncde; /* [out] function match of p1 (0 if unknown) */
|
INT fcncde; /* [out] function match of p1 (0 if unknown) */
|
||||||
} UNKNOWN_SHLWAPI_2;
|
} UNKNOWN_SHLWAPI_2;
|
||||||
|
|
||||||
DWORD WINAPI SHLWAPI_2(LPCWSTR x, UNKNOWN_SHLWAPI_2 *y);
|
DWORD WINAPI SHLWAPI_2(LPCWSTR x, UNKNOWN_SHLWAPI_2 *y);
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
@ -11,6 +12,7 @@
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
#include "ordinal.h"
|
#include "ordinal.h"
|
||||||
|
@ -775,18 +777,18 @@ int WINAPI PathParseIconLocationW(LPWSTR lpszPath)
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* PathFindOnPathA [SHLWAPI.@]
|
* 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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* PathFindOnPathW [SHLWAPI.@]
|
* 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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
|
||||||
|
@ -483,7 +484,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* SHRegQueryInfoUSKeyA [SHLWAPI.@]
|
* SHRegQueryInfoUSKeyA [SHLWAPI.@]
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI SHRegQueryInfoUSKeyA(
|
LONG WINAPI SHRegQueryInfoUSKeyA(
|
||||||
HUSKEY hUSKey, /* [in] */
|
HUSKEY hUSKey, /* [in] */
|
||||||
LPDWORD pcSubKeys,
|
LPDWORD pcSubKeys,
|
||||||
LPDWORD pcchMaxSubKeyLen,
|
LPDWORD pcchMaxSubKeyLen,
|
||||||
|
@ -522,7 +523,7 @@ DWORD WINAPI SHRegQueryInfoUSKeyA(
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* SHRegQueryInfoUSKeyW [SHLWAPI.@]
|
* SHRegQueryInfoUSKeyW [SHLWAPI.@]
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI SHRegQueryInfoUSKeyW(
|
LONG WINAPI SHRegQueryInfoUSKeyW(
|
||||||
HUSKEY hUSKey, /* [in] */
|
HUSKEY hUSKey, /* [in] */
|
||||||
LPDWORD pcSubKeys,
|
LPDWORD pcSubKeys,
|
||||||
LPDWORD pcchMaxSubKeyLen,
|
LPDWORD pcchMaxSubKeyLen,
|
||||||
|
@ -727,7 +728,7 @@ DWORD WINAPI SHGetValueW(
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* SHSetValueA [SHLWAPI.@]
|
* SHSetValueA [SHLWAPI.@]
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI SHSetValueA(
|
DWORD WINAPI SHSetValueA(
|
||||||
HKEY hkey,
|
HKEY hkey,
|
||||||
LPCSTR pszSubKey,
|
LPCSTR pszSubKey,
|
||||||
LPCSTR pszValue,
|
LPCSTR pszValue,
|
||||||
|
@ -749,7 +750,7 @@ HRESULT WINAPI SHSetValueA(
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* SHSetValueW [SHLWAPI.@]
|
* SHSetValueW [SHLWAPI.@]
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI SHSetValueW(
|
DWORD WINAPI SHSetValueW(
|
||||||
HKEY hkey,
|
HKEY hkey,
|
||||||
LPCWSTR pszSubKey,
|
LPCWSTR pszSubKey,
|
||||||
LPCWSTR pszValue,
|
LPCWSTR pszValue,
|
||||||
|
@ -772,9 +773,9 @@ HRESULT WINAPI SHSetValueW(
|
||||||
* SHQueryValueExA [SHLWAPI.@]
|
* SHQueryValueExA [SHLWAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI SHQueryValueExA(
|
DWORD WINAPI SHQueryValueExA(
|
||||||
HKEY hkey,
|
HKEY hkey,
|
||||||
LPSTR lpValueName,
|
LPCSTR lpValueName,
|
||||||
LPDWORD lpReserved,
|
LPDWORD lpReserved,
|
||||||
LPDWORD lpType,
|
LPDWORD lpType,
|
||||||
LPBYTE lpData,
|
LPBYTE lpData,
|
||||||
|
@ -792,9 +793,9 @@ HRESULT WINAPI SHQueryValueExA(
|
||||||
* if the datatype REG_EXPAND_SZ then expand the string and change
|
* if the datatype REG_EXPAND_SZ then expand the string and change
|
||||||
* *pdwType to REG_SZ.
|
* *pdwType to REG_SZ.
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI SHQueryValueExW (
|
DWORD WINAPI SHQueryValueExW (
|
||||||
HKEY hkey,
|
HKEY hkey,
|
||||||
LPWSTR pszValue,
|
LPCWSTR pszValue,
|
||||||
LPDWORD pdwReserved,
|
LPDWORD pdwReserved,
|
||||||
LPDWORD pdwType,
|
LPDWORD pdwType,
|
||||||
LPVOID pvData,
|
LPVOID pvData,
|
||||||
|
@ -814,7 +815,7 @@ HRESULT WINAPI SHQueryValueExW (
|
||||||
* According to docs, Win9x RegDeleteKeyA will delete all subkeys, whereas
|
* According to docs, Win9x RegDeleteKeyA will delete all subkeys, whereas
|
||||||
* WinNt/2k will only delete the key if empty.
|
* WinNt/2k will only delete the key if empty.
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI SHDeleteKeyA(
|
DWORD WINAPI SHDeleteKeyA(
|
||||||
HKEY hKey,
|
HKEY hKey,
|
||||||
LPCSTR lpszSubKey)
|
LPCSTR lpszSubKey)
|
||||||
{
|
{
|
||||||
|
@ -880,7 +881,7 @@ HRESULT WINAPI SHDeleteKeyA(
|
||||||
* According to docs, Win9x RegDeleteKeyA will delete all subkeys, whereas
|
* According to docs, Win9x RegDeleteKeyA will delete all subkeys, whereas
|
||||||
* WinNt/2k will only delete the key if empty.
|
* WinNt/2k will only delete the key if empty.
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI SHDeleteKeyW(
|
DWORD WINAPI SHDeleteKeyW(
|
||||||
HKEY hkey,
|
HKEY hkey,
|
||||||
LPCWSTR pszSubKey)
|
LPCWSTR pszSubKey)
|
||||||
{
|
{
|
||||||
|
@ -893,9 +894,9 @@ HRESULT WINAPI SHDeleteKeyW(
|
||||||
*
|
*
|
||||||
* Function opens the key, get/set/delete the value, then close the key.
|
* 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;
|
HKEY subkey;
|
||||||
HRESULT hres;
|
DWORD hres;
|
||||||
|
|
||||||
hres = RegOpenKeyA(hkey,pszSubKey,&subkey);
|
hres = RegOpenKeyA(hkey,pszSubKey,&subkey);
|
||||||
if (hres)
|
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.
|
* 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;
|
HKEY subkey;
|
||||||
HRESULT hres;
|
DWORD hres;
|
||||||
|
|
||||||
hres = RegOpenKeyW(hkey,pszSubKey,&subkey);
|
hres = RegOpenKeyW(hkey,pszSubKey,&subkey);
|
||||||
if (hres)
|
if (hres)
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
|
|
||||||
DEFAULT_DEBUG_CHANNEL(shell);
|
DEFAULT_DEBUG_CHANNEL(shell);
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include "shlobj.h"
|
#include "shlobj.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
#include "wininet.h"
|
#include "wininet.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
#include "ordinal.h"
|
#include "ordinal.h"
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include "wininet.h"
|
#include "wininet.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
|
|
||||||
#include "internet.h"
|
#include "internet.h"
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include "wininet.h"
|
#include "wininet.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
#define NO_SHLWAPI_STREAM
|
||||||
#include "shlwapi.h"
|
#include "shlwapi.h"
|
||||||
|
|
||||||
#include "internet.h"
|
#include "internet.h"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue