include/roapi.h: Add further typedefs.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Müller 2018-04-20 00:28:41 +00:00 committed by Alexandre Julliard
parent a64dcfa7bf
commit 2942e47dc9
1 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 Martin Storsjo
* Copyright (C) 2016 Michael Müller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -20,6 +21,7 @@
#define __WINE_ROAPI_H
#include <windef.h>
#include <activation.h>
typedef enum
{
@ -27,6 +29,15 @@ typedef enum
RO_INIT_MULTITHREADED = 1,
} RO_INIT_TYPE;
DECLARE_HANDLE(APARTMENT_SHUTDOWN_REGISTRATION_COOKIE);
#ifdef __cplusplus
typedef struct {} *RO_REGISTRATION_COOKIE;
#else
typedef struct _RO_REGISTRATION_COOKIE *RO_REGISTRATION_COOKIE;
#endif
typedef HRESULT (WINAPI *PFNGETACTIVATIONFACTORY)(HSTRING, IActivationFactory **);
#ifdef __cplusplus
extern "C" {
#endif