Commit 6b7c7467 authored by Alexandre Julliard's avatar Alexandre Julliard

oleaut32: Use widl to generate the coclasses registrations.

parent 335282f5
...@@ -41,24 +41,6 @@ HKCR ...@@ -41,24 +41,6 @@ HKCR
InprocServer = s 'ole2disp.dll' InprocServer = s 'ole2disp.dll'
InprocServer32 = s '%MODULE%' 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 NoRemove Interface
{ {
...@@ -104,7 +86,4 @@ HKCR ...@@ -104,7 +86,4 @@ HKCR
ProxyStubClsid32 = s '{00020420-0000-0000-C000-000000000046}' 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}' }
} }
...@@ -17,3 +17,27 @@ ...@@ -17,3 +17,27 @@
*/ */
#include "ocidl.idl" #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; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment