diasymreader: Register CLSID_CorSymWriter_SXS.

Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Esme Povirk 2022-01-28 13:00:52 -06:00 committed by Alexandre Julliard
parent ee6bee6a45
commit 235f465485
5 changed files with 88 additions and 3 deletions

View File

@ -1,3 +1,8 @@
MODULE = diasymreader.dll
IMPORTS = uuid
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = main.c
RC_SRCS = diasymreader.rc

View File

@ -0,0 +1,22 @@
/*
* Copyright 2022 Esme Povirk
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
/* @makedep: diasymreader.rgs */
2 WINE_REGISTRY diasymreader.rgs

View File

@ -0,0 +1,23 @@
HKCR
{
NoRemove CLSID
{
'{0ae2deb0-f901-478b-bb9f-881ee8066788}'
{
InProcServer32 = s 'mscoree.dll'
{
val ThreadingModel = s 'Both'
'4.0.30319'
{
val 'ImplementedInThisVersion' = s ''
}
ProgID = s 'CorSymWriter_SxS'
Server = s 'diasymreader.dll'
}
}
}
'CorSymWriter_SxS' = s 'NDP SymWriter'
{
CLSID = s '{0ae2deb0-f901-478b-bb9f-881ee8066788}'
}
}

View File

@ -1,8 +1,8 @@
@ stub CreateNGenPdbWriter
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllGetClassObjectInternal
@ stub DllRegisterServer
@ stub DllUnregisterServer
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stub VSDllRegisterServer
@ stub VSDllUnregisterServer

35
dlls/diasymreader/main.c Normal file
View File

@ -0,0 +1,35 @@
/* Copyright (C) 2022 Esme Povirk
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "objbase.h"
#include "ocidl.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(diasymreader);
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{
FIXME("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);
return CLASS_E_CLASSNOTAVAILABLE;
}