Add exclusion defs & remaining funcs, remove internal types &

obj_base.h (sync with win version), fixed a number of function
prototypes.
oldstable
Jon Griffiths 2001-12-11 00:30:17 +00:00 committed by Alexandre Julliard
parent 31b8b64682
commit 603f20fc0e
17 changed files with 602 additions and 395 deletions

View File

@ -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"

View File

@ -14,6 +14,7 @@
#include "winuser.h"
#include "winreg.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "filedlgbrowser.h"
#include "cdlg.h"

View File

@ -18,6 +18,7 @@
#include "riched32.h"
#include "richedit.h"
#include "charlist.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "rtf.h"

View File

@ -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"

View File

@ -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);

View File

@ -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);
}
/*************************************************************************

View File

@ -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

View File

@ -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;

View File

@ -1,5 +1,5 @@
/*
* Internal structures (read "undocumented") used by the
* Internal structures (read "undocumented") used by the
* ordinal entry points.
*
* Determined by experimentation.
@ -11,7 +11,7 @@ typedef struct {
INT sizep1; /* [out] size of scheme (until colon) */
LPCSTR ap2; /* [out] pointer following first colon */
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;
DWORD WINAPI SHLWAPI_1(LPCSTR x, UNKNOWN_SHLWAPI_1 *y);
@ -22,7 +22,8 @@ typedef struct {
INT sizep1; /* [out] size of scheme (until colon) */
LPCWSTR ap2; /* [out] pointer following first colon */
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;
DWORD WINAPI SHLWAPI_2(LPCWSTR x, UNKNOWN_SHLWAPI_2 *y);

View File

@ -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;
}

View File

@ -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)

View File

@ -9,6 +9,7 @@
#include "winerror.h"
#include "winreg.h"
#include "debugtools.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
DEFAULT_DEBUG_CHANNEL(shell);

View File

@ -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"

View File

@ -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"

View File

@ -25,6 +25,7 @@
#include "wininet.h"
#include "winreg.h"
#include "winerror.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "internet.h"

View File

@ -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