oleaut32: Use widl to generate the coclasses registrations.

This commit is contained in:
Alexandre Julliard 2010-11-30 12:49:15 +01:00
parent 335282f564
commit 6b7c746723
2 changed files with 24 additions and 21 deletions

View file

@ -41,24 +41,6 @@ HKCR
InprocServer = s 'ole2disp.dll'
InprocServer32 = s '%MODULE%'
}
ForceRemove '{0BE35203-8F91-11CE-9DE3-00AA004BB851}' = s 'CLSID_StdFont'
{
CLSID = s 'Standard Font'
InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Both' }
ProgId = s 'StdFont'
}
ForceRemove '{46763EE0-CAB2-11CE-8C20-00AA0051E5D4}' = s 'Obsolete Font'
{
CLSID = s 'Obsolete Font'
InprocServer32 = s '%MODULE%'
ProgId = s 'OldFont'
}
ForceRemove '{0BE35204-8F91-11CE-9DE3-00AA004BB851}' = s 'CLSID_StdPict'
{
CLSID = s 'Standard Picture'
InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Apartment' }
ProgId = s 'StdPicture'
}
}
NoRemove Interface
{
@ -104,7 +86,4 @@ HKCR
ProxyStubClsid32 = s '{00020420-0000-0000-C000-000000000046}'
}
}
ForceRemove StdFont { CLSID = s '{0BE35203-8F91-11CE-9DE3-00AA004BB851}' }
ForceRemove OldFont { CLSID = s '{46763EE0-CAB2-11CE-8C20-00AA0051E5D4}' }
ForceRemove StdPicture { CLSID = s '{0BE35204-8F91-11CE-9DE3-00AA004BB851}' }
}

View file

@ -17,3 +17,27 @@
*/
#include "ocidl.idl"
[
helpstring("Standard Font"),
progid("StdFont"),
threading(both),
uuid(0be35203-8f91-11ce-9de3-00aa004bb851)
]
coclass StdFont { interface IFont; }
[
helpstring("Obsolete Font"),
progid("OldFont"),
threading(both),
uuid(46763ee0-cab2-11ce-8c20-00aa0051e5d4)
]
coclass OldFont { interface IFont; }
[
helpstring("Standard Picture"),
progid("StdPicture"),
threading(apartment),
uuid(0be35204-8f91-11ce-9de3-00aa004bb851)
]
coclass StdPicture { interface IPicture; }