* Create a main header and move some inclusions to it.
* Remove inclusions and definitions that already exist in the main header.
* Improve the GUIDs situation.
CORE-7716
svn path=/trunk/; revision=61427
storage32.c
stubmanager.c
usrmarshal.c
+ guid.c
${CMAKE_CURRENT_BINARY_DIR}/dcom_i.c
${CMAKE_CURRENT_BINARY_DIR}/dcom_p.c
${CMAKE_CURRENT_BINARY_DIR}/irot_c.c
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
${CMAKE_CURRENT_BINARY_DIR}/ole32.def)
-if(MSVC)
- if(ARCH STREQUAL "i386")
- list(APPEND SOURCE msvc-thiscall.c)
- endif()
- set_source_files_properties(stg_prop.c PROPERTIES COMPILE_FLAGS "/FImsvc.h")
+if(MSVC AND (ARCH STREQUAL "i386"))
+ list(APPEND SOURCE msvc-thiscall.c)
endif()
add_library(ole32 SHARED ${SOURCE} ole32res.rc)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-#include <objbase.h>
-#include <wine/debug.h>
-#include "moniker.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-#include <winnls.h>
-#include <objbase.h>
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <wine/debug.h>
-#include <ole2.h>
-#include <wine/unicode.h>
-#include "moniker.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-//#include <stdarg.h>
-//#include <string.h>
-#include <stdio.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winuser.h"
-//#include "winerror.h"
-#include <winnls.h>
-#include <ole2.h>
-#include <wine/debug.h>
-//#include "olestd.h"
-
+#include "precomp.h"
#include "storage32.h"
-#include "compobj_private.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(ole);
#define HANDLE_ERROR(err) do { hr = err; TRACE("(HRESULT=%x)\n", (HRESULT)err); goto CLEANUP; } while (0)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <string.h>
-#include <stdarg.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winreg.h"
-//#include "winerror.h"
-
-#include <ole2.h>
-#include <comcat.h>
-#include "compobj_private.h"
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
*
*/
-#include <config.h>
-
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-#include <assert.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <ntstatus.h>
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "winreg.h"
-//#include "winuser.h"
-#define USE_COM_CONTEXT_DEF
-//#include "objbase.h"
-#include <ole2.h>
-#include <ole2ver.h>
+#include "precomp.h"
+
#include <ctxtcall.h>
#include <dde.h>
-#include <servprov.h>
-
-#include <initguid.h>
-#include "compobj_private.h"
-#include "moniker.h"
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
/* All private prototype functions used by OLE will be added to this header file */
-#include <stdarg.h>
-
-#include <wine/list.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wtypes.h"
-#include <dcom.h>
-#include "winreg.h"
-#include <winternl.h>
-
struct apartment;
typedef struct apartment APARTMENT;
typedef struct LocalServer LocalServer;
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winerror.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
-#include <ole2.h>
-#include "moniker.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* header. I was able to figure-out where the extent of the object
* was stored and the aspect, but that's about it.
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winuser.h"
-//#include "winerror.h"
-#include <wine/unicode.h>
-#include <ole2.h>
-#include <wine/list.h>
-#include <wine/debug.h>
+
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* - All the methods related to notification and advise sinks are
* in place but no notifications are sent to the sinks yet.
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winerror.h"
-#include <ole2.h>
-
-#include "compobj_private.h"
+#include "precomp.h"
#include "storage32.h"
-#include <wine/unicode.h>
-#include <wine/debug.h>
-
WINE_DEFAULT_DEBUG_CHANNEL(ole);
enum storage_state
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <assert.h>
-//#include <stdarg.h>
-//#include "windef.h"
-//#include "winbase.h"
-#include "dictionary.h"
-#include <wine/debug.h>
+
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(storage);
#ifndef __DICTIONARY_H__
#define __DICTIONARY_H__
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-
struct dictionary;
/* Returns whether key a is less than, equal to, or greater than key b, in
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#define COBJMACROS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-
-#include "enumx.h"
-
-#include <wine/list.h>
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* TEB at offset 0xf80.
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-#include <oleauto.h>
-//#include "winerror.h"
-
-#include <wine/unicode.h>
-#include "compobj_private.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-//#include <assert.h>
-//#include <stdlib.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-//#include <limits.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winuser.h"
-//#include "winerror.h"
-//#include "objbase.h"
-//#include "ole2.h"
-
+#include "precomp.h"
#include "storage32.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
-
WINE_DEFAULT_DEBUG_CHANNEL(storage);
typedef struct FileLockBytesImpl
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "winnls.h"
-#include <wine/unicode.h>
-#include <wine/debug.h>
-#include <objbase.h>
-#include "moniker.h"
-
-//#include "compobj_private.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <stdlib.h>
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-//#include <assert.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-
-#include <wine/debug.h>
-
-#include "compobj_private.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "objbase.h"
-#include <ole2.h>
-//#include "winerror.h"
-
-#include "compobj_private.h"
-
-//#include "wine/list.h"
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
--- /dev/null
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <initguid.h>
+
+DEFINE_OLEGUID( CLSID_DfMarshal, 0x0000030b, 0, 0 );
+
+DEFINE_OLEGUID( CLSID_FileMoniker, 0x303, 0, 0 );
+DEFINE_OLEGUID( CLSID_ItemMoniker, 0x304, 0, 0 );
+DEFINE_OLEGUID( CLSID_AntiMoniker, 0x305, 0, 0 );
+DEFINE_OLEGUID( CLSID_CompositeMoniker, 0x309, 0, 0 );
+DEFINE_OLEGUID( CLSID_ClassMoniker, 0x31a, 0, 0 );
+DEFINE_OLEGUID( CLSID_PointerMoniker, 0x306, 0, 0 );
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <assert.h>
-//#include <stdlib.h>
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "objbase.h"
-#include <ole2.h>
-//#include "winerror.h"
-//#include "winternl.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(storage);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <ctype.h>
-#include <stdarg.h>
-//#include <stdlib.h>
-//#include <string.h>
-//#include <assert.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <ole2.h>
-//#include "winerror.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(olemalloc);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winnls.h"
-#include <wine/debug.h>
-#include <ole2.h>
-#include <wine/unicode.h>
-#include "moniker.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-#include <assert.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "objbase.h"
-#include <ole2.h>
-//#include "winerror.h"
-//#include "wine/unicode.h"
-
-#include "compobj_private.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <objbase.h>
-//#include "ole2.h"
-//#include "winerror.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
+#include "precomp.h"
-#include <config.h>
-//#include "wine/port.h"
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "wtypes.h"
-#include <ole2.h>
-
-//#include "wine/list.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
#include <wine/exception.h>
-#include "compobj_private.h"
-#include "moniker.h"
#include <irot.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
+++ /dev/null
-
-#define __ASM_STDCALL_FUNC(name,args,code)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <assert.h>
-//#include <stdlib.h>
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-#include <wingdi.h>
-//#include "winuser.h"
-//#include "winnls.h"
-//#include "winreg.h"
-#include <ole2.h>
-#include <ole2ver.h>
-
-#include <wine/unicode.h>
-#include "compobj_private.h"
-//#include "wine/list.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
WINE_DECLARE_DEBUG_CHANNEL(accel);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winuser.h"
-#include <wine/debug.h>
-#include <ole2.h>
-//#include "olestd.h"
-#include "compobj_private.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <ole2.h>
-//#include "objidl.h"
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
-
-//#include <stdarg.h>
-#include <stdio.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-#include <winuser.h>
-#include <winnls.h>
-#include <objbase.h>
-//#include "ole2.h"
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winerror.h"
-#include <wine/debug.h>
-#include <ole2.h>
-
-//#include "compobj_private.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <stdlib.h>
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <objbase.h>
-//#include "ole2.h"
-//#include "rpc.h"
-
-#include "compobj_private.h"
-#include "moniker.h"
-#include <comcat.h>
+#include "precomp.h"
/***********************************************************************
* DllGetClassObject [OLE32.@]
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "winuser.h"
-#include <objbase.h>
-#include <oleidl.h>
-#include <wine/debug.h>
-#include "moniker.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
--- /dev/null
+#ifndef _OLE32_PCH_
+#define _OLE32_PCH_
+
+#include <config.h>
+
+#include <assert.h>
+#include <stdarg.h>
+#include <stdio.h>
+
+#define _INC_WINDOWS
+
+#define COBJMACROS
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#include <ntstatus.h>
+#define WIN32_NO_STATUS
+#include <windef.h>
+#include <winbase.h>
+#include <winreg.h>
+#include <wingdi.h>
+#define USE_COM_CONTEXT_DEF
+#include <ole2.h>
+#include <ole2ver.h>
+#include <dcom.h>
+#include <comcat.h>
+#include <servprov.h>
+#include <winternl.h>
+
+#include <wine/debug.h>
+#include <wine/list.h>
+#include <wine/unicode.h>
+
+#include "compobj_private.h"
+#include "dictionary.h"
+#include "enumx.h"
+#include "moniker.h"
+
+#endif /* _OLE32_PCH_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
+#include "precomp.h"
-#include <config.h>
-//#include "wine/port.h"
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
#include <winsvc.h>
-//#include "objbase.h"
-#include <ole2.h>
-//#include "rpc.h"
-//#include "winerror.h"
-//#include "winreg.h"
-#include <servprov.h>
-#include <wine/unicode.h>
-
-#include "compobj_private.h"
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
* PropertyStorage_ReadFromStream
*/
-#include <config.h>
-//#include "wine/port.h"
-
-#include <assert.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-//#include <stdlib.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winnls.h"
-//#include "winuser.h"
-#include <wine/unicode.h>
-#include <wine/debug.h>
-#include "dictionary.h"
+#include "precomp.h"
#include "storage32.h"
-#include "enumx.h"
-#include <oleauto.h>
WINE_DEFAULT_DEBUG_CHANNEL(storage);
+#ifdef _MSC_VER
+#define __ASM_STDCALL_FUNC(name,args,code)
+#endif
+
static inline StorageImpl *impl_from_IPropertySetStorage( IPropertySetStorage *iface )
{
return CONTAINING_RECORD(iface, StorageImpl, base.IPropertySetStorage_iface);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <assert.h>
-//#include <stdlib.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winerror.h"
-//#include "winternl.h"
-#include <wine/debug.h>
-
+#include "precomp.h"
#include "storage32.h"
WINE_DEFAULT_DEBUG_CHANNEL(storage);
* residing in a compound file object.
*/
-#include <assert.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-//#include <stdlib.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winnls.h"
-//#include "winuser.h"
-#include <wine/unicode.h>
-#include <wine/debug.h>
-
+#include "precomp.h"
#include "storage32.h"
-#include <ole2.h> /* For Write/ReadClassStm */
-//#include "winreg.h"
#include <wine/wingdi16.h>
-#include "compobj_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(storage);
#ifndef __STORAGE32_H__
#define __STORAGE32_H__
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winnt.h"
-#include <objbase.h>
-#include <winreg.h>
-#include "winternl.h"
-#include <wine/list.h>
-
/*
* Definitions for the file format offsets.
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <assert.h>
-#include <stdarg.h>
-//#include <limits.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <objbase.h>
-//#include "rpc.h"
-
-#include <wine/debug.h>
-#include "compobj_private.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
-
/* generates an ipid in the following format (similar to native version):
* Data1 = apartment-local ipid counter
* Data2 = apartment creator thread ID
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdio.h>
-//#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winuser.h"
-//#include "winerror.h"
-
-#include <ole2.h>
-//#include "oleauto.h"
-//#include "rpcproxy.h"
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);