extserv.c
hlink_main.c
link.c
- hlink_private.h)
+ precomp.h)
add_library(hlink SHARED
${SOURCE}
target_link_libraries(hlink uuid wine)
add_delay_importlibs(hlink urlmon)
add_importlibs(hlink shell32 ole32 advapi32 msvcrt kernel32 ntdll)
-add_pch(hlink hlink_private.h SOURCE)
+add_pch(hlink precomp.h SOURCE)
add_cd_file(TARGET hlink DESTINATION reactos/system32 FOR all)
#include "hlink_private.h"
-#include <wine/list.h>
+#include "wine/debug.h"
+#include "wine/list.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(hlink);
struct link_entry
{
#include "hlink_private.h"
+#include "wine/debug.h"
+#include "wine/unicode.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(hlink);
+
typedef struct {
IUnknown IUnknown_inner;
IAuthenticate IAuthenticate_iface;
#include "hlink_private.h"
-#include <winreg.h>
-#include <rpcproxy.h>
+#include "winreg.h"
+#include "rpcproxy.h"
+#include "hlguids.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(hlink);
static HINSTANCE instance;
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#ifndef _HLINK_PRIVATE_H
-#define _HLINK_PRIVATE_H
+#pragma once
#include <stdarg.h>
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
#define COBJMACROS
-#include <windef.h>
-#include <winbase.h>
-#include <ole2.h>
-#include <hlink.h>
-#include <hlguids.h>
-
-#include <wine/unicode.h>
+#include "winerror.h"
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+#include "hlink.h"
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(hlink);
+#include "wine/heap.h"
+#include "wine/unicode.h"
extern HRESULT HLink_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
extern HRESULT HLinkBrowseContext_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
-static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
-{
- return HeapAlloc(GetProcessHeap(), 0, size);
-}
-
-static inline void* __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t size)
-{
- return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
-}
-
-static inline BOOL heap_free(void *mem)
-{
- return HeapFree(GetProcessHeap(), 0, mem);
-}
-
static inline LPWSTR hlink_strdupW(LPCWSTR str)
{
LPWSTR ret = NULL;
return ret;
}
-
-#endif /* _HLINK_PRIVATE_H */
#include "hlink_private.h"
-#include <shellapi.h>
+#include "shellapi.h"
+#include "hlguids.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(hlink);
#define HLINK_SAVE_MAGIC 0x00000002
#define HLINK_SAVE_MONIKER_PRESENT 0x01
if (phbc)
{
r = IHlinkBrowseContext_GetObject(phbc, mon, TRUE, &unk);
- if (r == S_FALSE)
+ if (r != S_OK)
{
CreateBindCtx(0, &bcxt);
RegisterBindStatusCallback(bcxt, pbsc, NULL, 0);
--- /dev/null
+
+#ifndef _HLINK_PRECOMP_H
+#define _HLINK_PRECOMP_H
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include "hlink_private.h"
+
+#include <hlguids.h>
+
+#include <wine/debug.h>
+
+#endif /* !_HLINK_PRECOMP_H */
reactos/dll/win32/fusion # Synced to WineStaging-3.3
reactos/dll/win32/gdiplus # Synced to WineStaging-3.3
reactos/dll/win32/hhctrl.ocx # Synced to WineStaging-3.3
-reactos/dll/win32/hlink # Synced to Wine-3.0
+reactos/dll/win32/hlink # Synced to WineStaging-3.3
reactos/dll/win32/hnetcfg # Synced to Wine-3.0
reactos/dll/win32/httpapi # Synced to WineStaging-2.9
reactos/dll/win32/iccvid # Synced to Wine-3.0