1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

coremessaging: Add CreateDispatcherQueueController() stub.

Needed by Photoshop 2024.
This commit is contained in:
Mohamad Al-Jaf 2024-05-28 23:46:36 -04:00 committed by Alexandre Julliard
parent 05ff16ebb6
commit 6070536f17
3 changed files with 34 additions and 1 deletions

View File

@ -1 +1,4 @@
MODULE = coremessaging.dll
SOURCES = \
main.c

View File

@ -15,7 +15,7 @@
@ stub CoreUIOpenExisting
@ stub CoreUIRouteToTestRegistrar
@ stub CoreUIUninitializeTestService
@ stub CreateDispatcherQueueController
@ stdcall CreateDispatcherQueueController(long long long ptr)
@ stub CreateDispatcherQueueForCurrentThread
@ stdcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory

30
dlls/coremessaging/main.c Normal file
View File

@ -0,0 +1,30 @@
/* WinRT CoreMessaging Implementation
*
* Copyright (C) 2024 Mohamad Al-Jaf
*
* 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 "dispatcherqueue.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(messaging);
HRESULT WINAPI CreateDispatcherQueueController( DispatcherQueueOptions options, PDISPATCHERQUEUECONTROLLER *queue_controller )
{
FIXME( "options.dwSize = %lu, options.threadType = %d, options.apartmentType = %d, queue_controller %p stub!\n",
options.dwSize, options.threadType, options.apartmentType, queue_controller );
return E_NOTIMPL;
}