include: Use proper dllimports for url functions.
This commit is contained in:
parent
18a1d3538c
commit
a36d747bfd
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
EXTRADEFS = -D_INTSHCUT_
|
||||
MODULE = url.dll
|
||||
IMPORTLIB = url
|
||||
IMPORTS = shell32 shlwapi
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue