X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Fatl%2Fatl30.c;h=99ed6711d8639ca43b865c952967ab0a0970a07e;hp=340ed651588ec46e0f3941ed73441b624522d06c;hb=7d9e7e2460c1d3e5c396e82d46b1a0ea2c82b32a;hpb=b0221abfa9380821fdbbd937c5b0f9794079d2b7 diff --git a/reactos/dll/win32/atl/atl30.c b/reactos/dll/win32/atl/atl30.c index 340ed651588..99ed6711d86 100644 --- a/reactos/dll/win32/atl/atl30.c +++ b/reactos/dll/win32/atl/atl30.c @@ -576,8 +576,12 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, LPVOID *ppvObject) */ HRESULT WINAPI DllRegisterServer(void) { +#ifdef __REACTOS__ /* Note: we can't use __wine_register_server here because it uses CLSID_Registrar which isn't registred yet */ return do_register_server(TRUE); +#else + return __wine_register_resources( atl_instance ); +#endif } /*********************************************************************** @@ -585,7 +589,11 @@ HRESULT WINAPI DllRegisterServer(void) */ HRESULT WINAPI DllUnregisterServer(void) { +#ifdef __REACTOS__ return do_register_server(FALSE); +#else + return __wine_unregister_resources( atl_instance ); +#endif } /***********************************************************************