- Timestamp:
- May 16, 2002, 6:43:06 PM (23 years ago)
- Location:
- trunk/src/ole32
- Files:
-
- 1 added
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/LICENSE.TXT
r6379 r8441 1 $Id: LICENSE.TXT,v 1. 3 2001-07-21 08:48:36sandervl Exp $2 @cThis is an additional Odin license agreement.3 @cIt supercedes the main Odin license, but is only valid in4 @cthe source directory in which it is present.1 $Id: LICENSE.TXT,v 1.4 2002-05-16 16:43:01 sandervl Exp $ 2 This is an additional Odin license agreement. 3 It supercedes the main Odin license, but is only valid in 4 the source directory in which it is present. 5 5 6 @c This file is processed by GNU's TeXinfo 7 @c If you modify it or move it to another location, make sure that 8 @c TeXinfo works (type `make' in directory documentation). 9 10 Copyright (c) 1993-2000 the Wine project authors (see the file AUTHORS 6 Copyright (c) 1993-2002 the Wine project authors (see the file AUTHORS 11 7 for a complete list) 12 8 13 Permission is hereby granted, free of charge, to any person obtaining a copy 14 of this software and associated documentation files (the "Software"), to deal 15 in the Software without restriction, including without limitation the rights 16 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 17 copies of the Software, and to permit persons to whom the Software is 18 furnished to do so, subject to the following conditions: 9 Wine is free software; you can redistribute it and/or modify it under 10 the terms of the GNU Lesser General Public License as published by the 11 Free Software Foundation; either version 2.1 of the License, or (at 12 your option) any later version. 19 13 20 The above copyright notice and this permission notice shall be included in 21 all copies or substantial portions of the Software. 14 This program is distributed in the hope that it will be useful, but 15 WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 Lesser General Public License for more details. 22 18 23 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 24 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 25 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 26 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 27 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 28 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 A copy of the GNU Lesser General Public License is included in the 20 Wine distribution in the file COPYING.LIB. If you did not receive this 21 copy, write to the Free Software Foundation, Inc., 59 Temple Place, 22 Suite 330, Boston, MA 02111-1307 USA. -
trunk/src/ole32/antimoniker.c
r7926 r8441 3 3 * 4 4 * Copyright 1999 Noomen Hamza 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 ***************************************************************************************/ 6 20 … … 14 28 #include "wine/obj_storage.h" 15 29 #include "wine/obj_moniker.h" 16 #include " debugtools.h"17 18 DEFAULT_DEBUG_CHANNEL(ole);30 #include "wine/debug.h" 31 32 WINE_DEFAULT_DEBUG_CHANNEL(ole); 19 33 20 34 /* AntiMoniker data structure */ -
trunk/src/ole32/bindctx.c
r7926 r8441 3 3 * 4 4 * Copyright 1999 Noomen Hamza 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 ***************************************************************************************/ 6 20 … … 14 28 #include "wine/obj_storage.h" 15 29 #include "wine/obj_moniker.h" 16 #include " debugtools.h"17 18 DEFAULT_DEBUG_CHANNEL(ole);30 #include "wine/debug.h" 31 32 WINE_DEFAULT_DEBUG_CHANNEL(ole); 19 33 20 34 /* represent the first size table and it's increment block size */ -
trunk/src/ole32/clipboard.c
r7989 r8441 4 4 * Copyright 1999 Noel Borthwick <noel@macadamian.com> 5 5 * Copyright 2000 Abey George <abey@macadamian.com> 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6 20 * 7 21 * NOTES: … … 55 69 #include "winnls.h" 56 70 #include "ole2.h" 57 #include " debugtools.h"71 #include "wine/debug.h" 58 72 #include "olestd.h" 59 73 … … 67 81 #endif 68 82 69 DEFAULT_DEBUG_CHANNEL(ole);83 WINE_DEFAULT_DEBUG_CHANNEL(ole); 70 84 71 85 /**************************************************************************** -
trunk/src/ole32/compobj.c
r7926 r8441 7 7 * Copyright 1999 Sylvain St-Germain 8 8 * Copyright 2002 Marcus Meissner 9 * 10 * This library is free software; you can redistribute it and/or 11 * modify it under the terms of the GNU Lesser General Public 12 * License as published by the Free Software Foundation; either 13 * version 2.1 of the License, or (at your option) any later version. 14 * 15 * This library is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * Lesser General Public License for more details. 19 * 20 * You should have received a copy of the GNU Lesser General Public 21 * License along with this library; if not, write to the Free Software 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 9 23 */ 10 24 -
trunk/src/ole32/compobj_private.h
r7958 r8441 1 /* 2 * Copyright 1995 Martin von Loewis 3 * Copyright 1998 Justin Bradford 4 * Copyright 1999 Francis Beaudet 5 * Copyright 1999 Sylvain St-Germain 6 * Copyright 2002 Marcus Meissner 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public 10 * License as published by the Free Software Foundation; either 11 * version 2.1 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with this library; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 */ 1 22 #ifndef __WINE_OLE_COMPOBJ_H 2 23 #define __WINE_OLE_COMPOBJ_H -
trunk/src/ole32/compositemoniker.c
r7926 r8441 3 3 * 4 4 * Copyright 1999 Noomen Hamza 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 ***************************************************************************************/ 6 20 #include <assert.h> … … 8 22 #include "winbase.h" 9 23 #include "winerror.h" 10 #include " debugtools.h"24 #include "wine/debug.h" 11 25 #include "wine/obj_base.h" 12 26 #include "wine/obj_misc.h" … … 17 31 #include "ole2.h" 18 32 19 DEFAULT_DEBUG_CHANNEL(ole);33 WINE_DEFAULT_DEBUG_CHANNEL(ole); 20 34 21 35 #define BLOCK_TAB_SIZE 5 /* represent the first size table and it's increment block size */ -
trunk/src/ole32/datacache.c
r6711 r8441 4 4 * Copyright 1999 Francis Beaudet 5 5 * Copyright 2000 Abey George 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6 20 * 7 21 * NOTES: … … 46 60 #include "wine/unicode.h" 47 61 #include "ole2.h" 48 #include " debugtools.h"49 50 DEFAULT_DEBUG_CHANNEL(ole);62 #include "wine/debug.h" 63 64 WINE_DEFAULT_DEBUG_CHANNEL(ole); 51 65 52 66 /**************************************************************************** -
trunk/src/ole32/defaulthandler.c
r6711 r8441 4 4 * Copyright 1999 Francis Beaudet 5 5 * Copyright 2000 Abey George 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6 20 * 7 21 * NOTES: … … 40 54 #include "ole2.h" 41 55 #include "wine/obj_oleview.h" 42 #include " debugtools.h"43 44 DEFAULT_DEBUG_CHANNEL(ole);56 #include "wine/debug.h" 57 58 WINE_DEFAULT_DEBUG_CHANNEL(ole); 45 59 46 60 /**************************************************************************** -
trunk/src/ole32/errorinfo.c
r7926 r8441 4 4 * Copyright 2000 Patrik Stridvall, Juergen Schmied 5 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 * 20 * NOTES: 6 21 * 7 22 * The errorinfo is a per-thread object. The reference is stored in the … … 22 37 #include "thread.h" 23 38 24 #include " debugtools.h"25 26 DEFAULT_DEBUG_CHANNEL(ole);39 #include "wine/debug.h" 40 41 WINE_DEFAULT_DEBUG_CHANNEL(ole); 27 42 28 43 /* this code is from SysAllocStringLen (ole2disp.c in oleaut32) */ -
trunk/src/ole32/filemoniker.c
r7926 r8441 3 3 * 4 4 * Copyright 1999 Noomen Hamza 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 ***************************************************************************************/ 6 20 … … 11 25 #include "winnls.h" 12 26 #include "wine/unicode.h" 13 #include " debugtools.h"27 #include "wine/debug.h" 14 28 #include "objbase.h" 15 29 #include "wine/obj_storage.h" … … 19 33 #include "compobj_private.h" 20 34 21 DEFAULT_DEBUG_CHANNEL(ole);35 WINE_DEFAULT_DEBUG_CHANNEL(ole); 22 36 23 37 /* filemoniker data structure */ -
trunk/src/ole32/hglobalstream.c
r7926 r8441 6 6 * 7 7 * Copyright 1999 Francis Beaudet 8 * 9 * This library is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU Lesser General Public 11 * License as published by the Free Software Foundation; either 12 * version 2.1 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * Lesser General Public License for more details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with this library; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 8 22 */ 9 23 … … 21 35 #include "winerror.h" 22 36 23 #include " debugtools.h"24 25 DEFAULT_DEBUG_CHANNEL(storage);37 #include "wine/debug.h" 38 39 WINE_DEFAULT_DEBUG_CHANNEL(storage); 26 40 27 41 /**************************************************************************** -
trunk/src/ole32/ifs.c
r7926 r8441 3 3 * 4 4 * Copyright 1997 Marcus Meissner 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 */ 6 20 … … 20 34 #include "ifs.h" 21 35 22 #include " debugtools.h"23 24 DEFAULT_DEBUG_CHANNEL(relay);36 #include "wine/debug.h" 37 38 WINE_DEFAULT_DEBUG_CHANNEL(relay); 25 39 26 40 /* --- IUnknown implementation */ -
trunk/src/ole32/ifs.h
r5602 r8441 1 /* 2 * Copyright 1997 Marcus Meissner 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 18 1 19 #ifndef __WINE_OLE_IFS_H 2 20 #define __WINE_OLE_IFS_H 21 22 #include "wine/obj_base.h" 23 24 #ifndef __WIN32OS2__ 25 26 /*********************************************************************** 27 * IMalloc16 interface 28 */ 29 30 typedef struct IMalloc16 IMalloc16, *LPMALLOC16; 31 32 #define ICOM_INTERFACE IMalloc16 33 #define IMalloc16_METHODS \ 34 ICOM_METHOD1 (LPVOID, Alloc, DWORD, cb) \ 35 ICOM_METHOD2 (LPVOID, Realloc, LPVOID, pv, DWORD, cb) \ 36 ICOM_VMETHOD1( Free, LPVOID, pv) \ 37 ICOM_METHOD1 (DWORD, GetSize, LPVOID, pv) \ 38 ICOM_METHOD1 (INT16, DidAlloc, LPVOID, pv) \ 39 ICOM_METHOD (LPVOID, HeapMinimize) 40 #define IMalloc16_IMETHODS \ 41 IUnknown_IMETHODS \ 42 IMalloc16_METHODS 43 ICOM_DEFINE(IMalloc16,IUnknown) 44 #undef ICOM_INTERFACE 45 46 /*** IUnknown methods ***/ 47 #define IMalloc16_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 48 #define IMalloc16_AddRef(p) ICOM_CALL (AddRef,p) 49 #define IMalloc16_Release(p) ICOM_CALL (Release,p) 50 /*** IMalloc16 methods ***/ 51 #define IMalloc16_Alloc(p,a) ICOM_CALL1(Alloc,p,a) 52 #define IMalloc16_Realloc(p,a,b) ICOM_CALL2(Realloc,p,a,b) 53 #define IMalloc16_Free(p,a) ICOM_CALL1(Free,p,a) 54 #define IMalloc16_GetSize(p,a) ICOM_CALL1(GetSize,p,a) 55 #define IMalloc16_DidAlloc(p,a) ICOM_CALL1(DidAlloc,p,a) 56 #define IMalloc16_HeapMinimize(p) ICOM_CALL (HeapMinimize,p) 57 58 /**********************************************************************/ 59 #endif 3 60 4 61 extern LPMALLOC16 IMalloc16_Constructor(); -
trunk/src/ole32/itemmoniker.c
r7926 r8441 3 3 * 4 4 * Copyright 1999 Noomen Hamza 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 ***************************************************************************************/ 6 20 … … 10 24 #include "winbase.h" 11 25 #include "winnls.h" 12 #include " debugtools.h"26 #include "wine/debug.h" 13 27 #include "wine/obj_base.h" 14 28 #include "wine/obj_misc.h" … … 18 32 #include "wine/unicode.h" 19 33 20 DEFAULT_DEBUG_CHANNEL(ole);34 WINE_DEFAULT_DEBUG_CHANNEL(ole); 21 35 22 36 /* ItemMoniker data structure */ -
trunk/src/ole32/marshal.c
r7958 r8441 3 3 * 4 4 * Copyright 2002 Marcus Meissner 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 */ 6 20 … … 32 46 #include "ifs.h" 33 47 34 #include " debugtools.h"35 36 DEFAULT_DEBUG_CHANNEL(ole);48 #include "wine/debug.h" 49 50 WINE_DEFAULT_DEBUG_CHANNEL(ole); 37 51 38 52 /* Marshaling just passes a unique identifier to the remote client, -
trunk/src/ole32/memlockbytes.c
r7926 r8441 5 5 * Copyright 1999 Thuy Nguyen 6 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 7 20 */ 8 21 … … 17 30 #include "winerror.h" 18 31 19 #include " debugtools.h"20 21 DEFAULT_DEBUG_CHANNEL(ole);32 #include "wine/debug.h" 33 34 WINE_DEFAULT_DEBUG_CHANNEL(ole); 22 35 23 36 /****************************************************************************** -
trunk/src/ole32/moniker.c
r7926 r8441 4 4 * Copyright 1998 Marcus Meissner 5 5 * Copyright 1999 Noomen Hamza 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6 20 */ 7 21 … … 16 30 #include "wine/obj_misc.h" 17 31 #include "wine/obj_moniker.h" 32 #include "wine/debug.h" 33 #include "ole2.h" 18 34 #ifdef __WIN32OS2__ 19 35 #include "wine/obj_channel.h" 20 36 #endif 21 37 22 #include "debugtools.h"23 #include "ole2.h"24 25 38 #include "compobj_private.h" 26 39 27 DEFAULT_DEBUG_CHANNEL(ole);40 WINE_DEFAULT_DEBUG_CHANNEL(ole); 28 41 29 42 #define BLOCK_TAB_SIZE 20 /* represent the first size table and it's increment block size */ -
trunk/src/ole32/ole2.c
r7926 r8441 6 6 * Copyright 1999 Francis Beaudet 7 7 * Copyright 1999 Noel Borthwick 8 * 9 * This library is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU Lesser General Public 11 * License as published by the Free Software Foundation; either 12 * version 2.1 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * Lesser General Public License for more details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with this library; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 8 22 */ 9 23 … … 30 44 #include "ole32_main.h" 31 45 32 #include " debugtools.h"33 34 DEFAULT_DEBUG_CHANNEL(ole);35 DECLARE_DEBUG_CHANNEL(accel);46 #include "wine/debug.h" 47 48 WINE_DEFAULT_DEBUG_CHANNEL(ole); 49 WINE_DECLARE_DEBUG_CHANNEL(accel); 36 50 37 51 /****************************************************************************** -
trunk/src/ole32/ole2impl.c
r7926 r8441 3 3 * 4 4 * Copyright (C) 1999-2000 Abey George 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 */ 6 20 … … 9 23 #include "wingdi.h" 10 24 #include "winuser.h" 11 #include " debugtools.h"25 #include "wine/debug.h" 12 26 #include "ole2.h" 13 27 #include "olestd.h" 14 28 #include "winreg.h" 15 29 16 DEFAULT_DEBUG_CHANNEL(ole);30 WINE_DEFAULT_DEBUG_CHANNEL(ole); 17 31 18 32 #define MAX_CLIPFORMAT_NAME 80 -
trunk/src/ole32/ole2stubs.c
r7926 r8441 4 4 * Copyright (C) 1999 Corel Corporation 5 5 * Move these functions to dlls/ole32/ole2impl.c when you implement them. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6 20 */ 7 21 … … 10 24 #include "winuser.h" 11 25 #include "ole2.h" 12 #include " debugtools.h"13 14 DEFAULT_DEBUG_CHANNEL(ole);26 #include "wine/debug.h" 27 28 WINE_DEFAULT_DEBUG_CHANNEL(ole); 15 29 16 30 /****************************************************************************** … … 22 36 { 23 37 FIXME("(%p,%p,%li,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj); 24 return S_OK;38 return E_NOTIMPL; 25 39 } 26 40 … … 33 47 { 34 48 FIXME("(%x,%x,%x), stub!\n", hSrc, cfFormat, uiFlags); 35 return S_OK;49 return E_NOTIMPL; 36 50 } 37 51 … … 44 58 { 45 59 FIXME("(%p,%x,%s) stub!\n",pstg,cf,debugstr_w(lpszUserType)); 46 return S_OK;60 return E_NOTIMPL; 47 61 } 48 62 … … 63 77 { 64 78 FIXME("(%p,%x), stub!\n", pStg, fConvert); 65 return S_OK;79 return E_NOTIMPL; 66 80 } 67 81 … … 120 134 { 121 135 FIXME("(not shown), stub!\n"); 122 return S_OK;136 return E_NOTIMPL; 123 137 } 124 138 … … 130 144 { 131 145 FIXME("(not shown), stub!\n"); 132 return S_OK;146 return E_NOTIMPL; 133 147 } 134 148 … … 140 154 { 141 155 FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel); 142 return S_OK;156 return (HGLOBAL)NULL; 143 157 } 144 158 … … 149 163 { 150 164 FIXME("(%p,%p,%p), stub!\n", pstg, pcf, lplpszUserType); 151 return S_OK;165 return E_NOTIMPL; 152 166 } 153 167 … … 160 174 { 161 175 FIXME("(not shown), stub!\n"); 162 return S_OK;176 return E_NOTIMPL; 163 177 } 164 178 … … 173 187 { 174 188 FIXME("(not shown), stub!\n"); 175 return S_OK;189 return E_NOTIMPL; 176 190 } 177 191 … … 204 218 FIXME("(%p, %ld, %p), stub!\n", clsid, dwDirection, ppenumFormatetc); 205 219 206 return S_OK;220 return E_NOTIMPL; 207 221 } 208 222 … … 216 230 *(LPWORD)pvar = 0; 217 231 /* sets at least the vt field to VT_EMPTY */ 218 return S_OK;232 return E_NOTIMPL; 219 233 } 220 234 … … 227 241 FIXME("(%p, %p): stub:\n", pvarDest, pvarSrc); 228 242 229 return S_OK;243 return E_NOTIMPL; 230 244 } 231 245 … … 238 252 FIXME("(%lu, %p): stub:\n", cVariants, rgvars); 239 253 240 return S_OK;254 return E_NOTIMPL; 241 255 } 242 256 -
trunk/src/ole32/ole32_main.c
r7926 r8441 2 2 * OLE32 Initialization 3 3 * 4 * Copyright 2000 Huw D M Davies for Codeweavers 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 4 19 */ 20 5 21 #include "windef.h" 6 22 #include "winerror.h" 7 23 #include "ole32_main.h" 8 #include " debugtools.h"24 #include "wine/debug.h" 9 25 10 DEFAULT_DEBUG_CHANNEL(ole);26 WINE_DEFAULT_DEBUG_CHANNEL(ole); 11 27 12 28 HINSTANCE OLE32_hInstance = 0; -
trunk/src/ole32/ole32_main.h
r7926 r8441 1 /* 2 * Copyright 2000 Huw D M Davies for Codeweavers 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 18 1 19 #ifndef __WINE_OLE32_MAIN_H 2 20 #define __WINE_OLE32_MAIN_H -
trunk/src/ole32/oleobj.c
r7508 r8441 4 4 * Copyright 1998 Eric Kohl 5 5 * Copyright 1999 Francis Beaudet 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6 20 */ 7 21 … … 10 24 #include "winbase.h" 11 25 #include "winerror.h" 12 #include " debugtools.h"26 #include "wine/debug.h" 13 27 #include "oleidl.h" 14 28 15 DEFAULT_DEBUG_CHANNEL(ole);29 WINE_DEFAULT_DEBUG_CHANNEL(ole); 16 30 17 31 #define INITIAL_SINKS 10 -
trunk/src/ole32/oleproxy.c
r7926 r8441 3 3 * 4 4 * Copyright 2002 Marcus Meissner 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 */ 6 20 … … 37 51 #include "compobj_private.h" 38 52 39 #include " debugtools.h"40 41 DEFAULT_DEBUG_CHANNEL(ole);53 #include "wine/debug.h" 54 55 WINE_DEFAULT_DEBUG_CHANNEL(ole); 42 56 43 57 /* From: http://msdn.microsoft.com/library/en-us/com/cmi_m_4lda.asp -
trunk/src/ole32/olestd.h
r7926 r8441 1 /************************************************************************* 2 ** 3 ** olestd.h 4 ** 5 *************************************************************************/ 1 /* 2 * Copyright 2000 Abey George 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 6 18 7 19 #if !defined( __WINE_OLESTD_H_ ) -
trunk/src/ole32/rpc.c
r7926 r8441 3 3 * 4 4 * Copyright 2002 Marcus Meissner 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 */ 6 20 … … 34 48 #include "compobj_private.h" 35 49 36 #include " debugtools.h"37 38 DEFAULT_DEBUG_CHANNEL(ole);50 #include "wine/debug.h" 51 52 WINE_DEFAULT_DEBUG_CHANNEL(ole); 39 53 40 54 typedef struct _wine_rpc_request { -
trunk/src/ole32/stg_bigblockfile.c
r7508 r8441 17 17 * Copyright 1999 Thuy Nguyen 18 18 * 19 */ 20 21 #ifdef __WIN32OS2__ 22 #define inline 23 24 #include <odin.h> 25 #include "ole32.h" 26 #include "heapstring.h" 27 28 #endif 19 * This library is free software; you can redistribute it and/or 20 * modify it under the terms of the GNU Lesser General Public 21 * License as published by the Free Software Foundation; either 22 * version 2.1 of the License, or (at your option) any later version. 23 * 24 * This library is distributed in the hope that it will be useful, 25 * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27 * Lesser General Public License for more details. 28 * 29 * You should have received a copy of the GNU Lesser General Public 30 * License along with this library; if not, write to the Free Software 31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 32 */ 29 33 30 34 #include <assert.h> … … 42 46 #include "storage32.h" 43 47 44 #include "debugtools.h" 45 46 47 DEFAULT_DEBUG_CHANNEL(storage); 48 #include "wine/debug.h" 49 50 WINE_DEFAULT_DEBUG_CHANNEL(storage); 48 51 49 52 /*********************************************************** -
trunk/src/ole32/stg_stream.c
r7926 r8441 8 8 * Copyright 1999 Francis Beaudet 9 9 * Copyright 1999 Thuy Nguyen 10 */ 11 #ifdef __WIN32OS2__ 12 #include "ole32.h" 13 #include "heapstring.h" 14 #endif 15 10 * 11 * This library is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU Lesser General Public 13 * License as published by the Free Software Foundation; either 14 * version 2.1 of the License, or (at your option) any later version. 15 * 16 * This library is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 * Lesser General Public License for more details. 20 * 21 * You should have received a copy of the GNU Lesser General Public 22 * License along with this library; if not, write to the Free Software 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 */ 16 25 #include <assert.h> 17 26 #include <stdlib.h> … … 22 31 #include "winerror.h" 23 32 #include "ntddk.h" 24 #include " debugtools.h"33 #include "wine/debug.h" 25 34 26 35 #include "storage32.h" 27 36 28 DEFAULT_DEBUG_CHANNEL(storage);37 WINE_DEFAULT_DEBUG_CHANNEL(storage); 29 38 30 39 … … 551 560 } 552 561 553 #ifdef __WIN32OS2__ 554 /* 555 * do some multiword arithmetic: 556 * treat HighPart as a signed value 557 * treat LowPart as unsigned 558 * NOTE: this stuff is two's complement specific! 559 */ 560 if (dlibMove.s.HighPart < 0) { /* dlibMove is < 0 */ 561 /* calculate the absolute value of dlibMove ... */ 562 dlibMove.s.HighPart = -dlibMove.s.HighPart; 563 dlibMove.s.LowPart ^= -1; 564 /* ... and subtract with carry */ 565 if (dlibMove.s.LowPart > plibNewPosition->s.LowPart) { 566 /* carry needed, This accounts for any underflows at [1]*/ 567 plibNewPosition->s.HighPart -= 1; 568 } 569 plibNewPosition->s.LowPart -= dlibMove.s.LowPart; /* [1] */ 570 plibNewPosition->s.HighPart -= dlibMove.s.HighPart; 571 } else { 572 /* add directly */ 573 int initialLowPart = plibNewPosition->s.LowPart; 574 plibNewPosition->s.LowPart += dlibMove.s.LowPart; 575 if((plibNewPosition->s.LowPart < initialLowPart) || 576 (plibNewPosition->s.LowPart < dlibMove.s.LowPart)) { 577 /* LowPart has rolled over => add the carry digit to HighPart */ 578 plibNewPosition->s.HighPart++; 579 } 580 plibNewPosition->s.HighPart += dlibMove.s.HighPart; 581 } 582 /* 583 * Check if we end-up before the beginning of the file. That should 584 * trigger an error. 585 */ 586 if (plibNewPosition->s.HighPart < 0) { 587 return STG_E_INVALIDPOINTER; 588 } 589 590 /* 591 * We currently don't support files with offsets of >32 bits. 592 * Note that we have checked for a negative offset already 593 */ 594 assert(plibNewPosition->s.HighPart <= 0); 595 562 #if defined(__WIN32OS2__) && defined(__IBMC__) 563 *((LARGE_INTEGER*)&plibNewPosition )= RtlpLargeIntegerAdd( (LARGE_INTEGER *)plibNewPosition, &dlibMove ); 596 564 #else 597 565 plibNewPosition->QuadPart = RtlLargeIntegerAdd( plibNewPosition->QuadPart, dlibMove.QuadPart ); -
trunk/src/ole32/storage32.c
r7926 r8441 9 9 * Copyright 1999 Sylvain St-Germain 10 10 * Copyright 1999 Thuy Nguyen 11 */ 11 * 12 * This library is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU Lesser General Public 14 * License as published by the Free Software Foundation; either 15 * version 2.1 of the License, or (at your option) any later version. 16 * 17 * This library is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 * Lesser General Public License for more details. 21 * 22 * You should have received a copy of the GNU Lesser General Public 23 * License along with this library; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 */ 26 12 27 #ifdef __WIN32OS2__ 13 #include <odin.h>14 28 #include "ole32.h" 15 29 #include "heapstring.h" … … 24 38 #include "winnls.h" 25 39 #include "wine/unicode.h" 26 #include " debugtools.h"40 #include "wine/debug.h" 27 41 28 42 #include "storage32.h" … … 32 46 #include "wine/wingdi16.h" 33 47 34 DEFAULT_DEBUG_CHANNEL(storage);48 WINE_DEFAULT_DEBUG_CHANNEL(storage); 35 49 36 50 #define FILE_BEGIN 0 … … 5510 5524 DWORD accessMode; 5511 5525 WCHAR fullname[MAX_PATH]; 5512 WIN32_FILE_ATTRIBUTE_DATA Fad;5526 DWORD length; 5513 5527 5514 5528 TRACE("(%s, %p, %lx, %p, %ld, %p)\n", … … 5553 5567 0); 5554 5568 5569 length = GetFileSize(hFile, NULL); 5555 5570 5556 5571 if (hFile==INVALID_HANDLE_VALUE) … … 5605 5620 grfMode, 5606 5621 TRUE, 5607 ! (Fad.nFileSizeHigh || Fad.nFileSizeLow) /* FALSE */);5622 !length ); 5608 5623 5609 5624 if (FAILED(hr)) -
trunk/src/ole32/storage32.h
r7926 r8441 12 12 * Copyright 1998,1999 Francis Beaudet 13 13 * Copyright 1998,1999 Thuy Nguyen 14 * 15 * This library is free software; you can redistribute it and/or 16 * modify it under the terms of the GNU Lesser General Public 17 * License as published by the Free Software Foundation; either 18 * version 2.1 of the License, or (at your option) any later version. 19 * 20 * This library is distributed in the hope that it will be useful, 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 23 * Lesser General Public License for more details. 24 * 25 * You should have received a copy of the GNU Lesser General Public 26 * License along with this library; if not, write to the Free Software 27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 28 */ 15 29 #ifndef __STORAGE32_H__
Note:
See TracChangeset
for help on using the changeset viewer.