mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null.
This commit is contained in:
parent
d80eb97b29
commit
79418b45f0
1 changed files with 3 additions and 0 deletions
|
@ -1911,6 +1911,9 @@ static HRESULT MultiLanguage_create(IUnknown *pUnkOuter, LPVOID *ppObj)
|
|||
|
||||
TRACE("Creating MultiLanguage object\n");
|
||||
|
||||
if( pUnkOuter )
|
||||
return CLASS_E_NOAGGREGATION;
|
||||
|
||||
mlang = HeapAlloc( GetProcessHeap(), 0, sizeof (MLang_impl) );
|
||||
mlang->vtbl_IMLangFontLink = &IMLangFontLink_vtbl;
|
||||
mlang->vtbl_IMultiLanguage = &IMultiLanguage_vtbl;
|
||||
|
|
Loading…
Reference in a new issue