1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Use proper dllimports for url functions.

This commit is contained in:
Alexandre Julliard 2023-11-03 17:15:05 +01:00
parent 18a1d3538c
commit a36d747bfd
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,4 @@
EXTRADEFS = -D_INTSHCUT_
MODULE = url.dll
IMPORTLIB = url
IMPORTS = shell32 shlwapi

View File

@ -21,7 +21,11 @@
#include <isguids.h>
#ifdef _INTSHCUT_
#define INTSHCUTAPI
#else
#define INTSHCUTAPI DECLSPEC_IMPORT
#endif
#ifdef __cplusplus
extern "C" {
@ -101,11 +105,10 @@ typedef enum translateurl_in_flags {
TRANSLATEURL_FL_USE_DEFAULT_PROTOCOL
} TRANSLATEURL_IN_FLAGS;
HRESULT WINAPI TranslateURLA(LPCSTR, DWORD, LPSTR *);
HRESULT WINAPI TranslateURLW(LPCWSTR, DWORD, LPWSTR *);
INTSHCUTAPI HRESULT WINAPI TranslateURLA(LPCSTR, DWORD, LPSTR *);
INTSHCUTAPI HRESULT WINAPI TranslateURLW(LPCWSTR, DWORD, LPWSTR *);
#define TranslateURL WINELIB_NAME_AW(TranslateURL)
BOOL WINAPI InetIsOffline(DWORD);
INTSHCUTAPI BOOL WINAPI InetIsOffline(DWORD);
#ifdef __cplusplus
}