simple itss/moniker.c aggregation patch
tom fogal
tfogal at cisunix.unh.edu
Mon Feb 7 22:59:44 CST 2005
as per http://www.winehq.com/site/janitorial
-tom
Index: dlls/itss/moniker.c
===================================================================
RCS file: /home/wine/wine/dlls/itss/moniker.c,v
retrieving revision 1.5
diff -u -p -r1.5 moniker.c
--- dlls/itss/moniker.c 3 Jan 2005 14:39:51 -0000 1.5
+++ dlls/itss/moniker.c 8 Feb 2005 04:42:03 -0000
@@ -471,6 +471,9 @@ HRESULT ITS_IParseDisplayName_create(IUn
{
ITS_IParseDisplayNameImpl *its;
+ if( pUnkOuter )
+ return CLASS_E_NOAGGREGATION;
+
its = HeapAlloc( GetProcessHeap(), 0, sizeof(ITS_IParseDisplayNameImpl) );
its->vtbl_ITS_IParseDisplayName = &ITS_IParseDisplayNameImpl_Vtbl;
its->ref = 1;
More information about the wine-patches
mailing list