23#include "roparameterizediid.h"
44 ACTCTX_SECTION_KEYED_DATA
data;
45 HKEY hkey_root, hkey_class;
55 ACTIVATION_CONTEXT_SECTION_WINRT_ACTIVATABLE_CLASSES, classid, &
data))
165 ERR(
"Failed to find library for %s\n", debugstr_hstring(classid));
185 hr = pDllGetActivationFactory(classid, &
factory);
194 IActivationFactory_Release(
factory);
210 FIXME(
"stub: %d %p %p %p %p\n", name_element_count, name_elements, meta_data_locator, iid, hiid);
230 IActivationFactory_Release(
factory);
257 IStream_Release(
ref->marshal_stream);
278 IUnknown_AddRef(iface);
301 TRACE(
"destroying %p\n", iface);
304 IUnknown_Release(impl->
obj);
338 IUnknown_Release(impl->
obj);
374 ERR(
"Apartment not initialized\n");
383 hr = IUnknown_QueryInterface(
obj, &IID_INoMarshal, (
void **)&
unknown);
390 impl =
calloc(1,
sizeof(*impl));
409 IUnknown_AddRef(impl->
obj);
423 FIXME(
"(%p): stub\n", identifier);
428 *identifier = 0xdeadbeef;
436 UINT64 *identifier, APARTMENT_SHUTDOWN_REGISTRATION_COOKIE *
cookie)
447 *
cookie = (
void *)0xcafecafe;
497 FIXME(
"%#lx, %s, %p: stub\n",
error, debugstr_hstring(
message), language_exception);
541 FIXME(
"(%s, %p): stub\n", debugstr_hstring(classid),
factory);
#define CO_E_NOTINITIALIZED
#define DECLSPEC_HOTPATCH
COMPILER_DEPENDENT_UINT64 UINT64
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define RegCloseKey(hKey)
@ AGILEREFERENCE_DELAYEDMARSHAL
static HINSTANCE instance
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
HRESULT WINAPI DECLSPEC_HOTPATCH CoInitializeEx(void *reserved, DWORD model)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
BOOL WINAPI InternalIsProcessInitialized(void)
HRESULT WINAPI CreateStreamOnHGlobal(HGLOBAL hGlobal, BOOL delete_on_release, IStream **stream)
HRESULT WINAPI CoMarshalInterface(IStream *stream, REFIID riid, IUnknown *unk, DWORD dest_context, void *pvDestContext, DWORD mshlFlags)
HRESULT WINAPI CoReleaseMarshalData(IStream *stream)
HRESULT WINAPI CoUnmarshalInterface(IStream *stream, REFIID riid, void **ppv)
HRESULT WINAPI RoGetParameterizedTypeInstanceIID(UINT32 name_element_count, const WCHAR **name_elements, const IRoMetaDataLocator *meta_data_locator, GUID *iid, ROPARAMIIDHANDLE *hiid)
HRESULT WINAPI RoRegisterForApartmentShutdown(IApartmentShutdown *callback, UINT64 *identifier, APARTMENT_SHUTDOWN_REGISTRATION_COOKIE *cookie)
static HRESULT WINAPI agile_ref_QueryInterface(IAgileReference *iface, REFIID riid, void **obj)
HRESULT WINAPI RoActivateInstance(HSTRING classid, IInspectable **instance)
HRESULT WINAPI DECLSPEC_HOTPATCH RoGetActivationFactory(HSTRING classid, REFIID iid, void **class_factory)
HRESULT WINAPI RoSetErrorReportingFlags(UINT32 flags)
static ULONG WINAPI agile_ref_Release(IAgileReference *iface)
HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info)
HRESULT WINAPI RoInitialize(RO_INIT_TYPE type)
HRESULT WINAPI SetRestrictedErrorInfo(IRestrictedErrorInfo *info)
static HRESULT WINAPI agile_ref_Resolve(IAgileReference *iface, REFIID riid, void **obj)
static ULONG WINAPI agile_ref_AddRef(IAgileReference *iface)
HRESULT WINAPI RoGetApartmentIdentifier(UINT64 *identifier)
BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message)
static const IAgileReferenceVtbl agile_ref_vtbl
HRESULT WINAPI RoGetAgileReference(enum AgileReferenceOptions option, REFIID riid, IUnknown *obj, IAgileReference **agile_reference)
static HRESULT marshal_object_in_agile_reference(struct agile_reference *ref, REFIID riid, IUnknown *obj)
static HRESULT get_library_for_classid(const WCHAR *classid, WCHAR **out)
static struct agile_reference * impl_from_IAgileReference(IAgileReference *iface)
void WINAPI RoUninitialize(void)
HRESULT WINAPI DllGetActivationFactory(HSTRING classid, IActivationFactory **factory)
BOOL WINAPI RoOriginateErrorW(HRESULT error, UINT max_len, const WCHAR *message)
void WINAPI CleanupTlsOleState(void *unknown)
HRESULT WINAPI RoGetServerActivatableClasses(HSTRING name, HSTRING **classes, DWORD *count)
BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception)
HRESULT WINAPI RoRegisterActivationFactories(HSTRING *classes, PFNGETACTIVATIONFACTORY *callbacks, UINT32 count, RO_REGISTRATION_COOKIE *cookie)
LPCWSTR WINAPI WindowsGetStringRawBuffer(HSTRING str, UINT32 *len)
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
#define GetProcAddress(x, y)
#define INVALID_HANDLE_VALUE
DWORD WINAPI ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
BOOL WINAPI FindActCtxSectionStringW(DWORD dwFlags, const GUID *lpExtGuid, ULONG ulId, LPCWSTR lpSearchStr, PACTCTX_SECTION_KEYED_DATA pInfo)
static wchar_t * wcsdup(const wchar_t *str)
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
static IPrintDialogCallback callback
@ COINIT_APARTMENTTHREADED
#define IsEqualGUID(rguid1, rguid2)
struct _RO_REGISTRATION_COOKIE * RO_REGISTRATION_COOKIE
HRESULT(WINAPI * PFNGETACTIVATIONFACTORY)(_In_ HSTRING classId, _Out_ IActivationFactory **factory)
enum AgileReferenceOptions option
IAgileReference IAgileReference_iface
VOID WINAPI InitializeCriticalSection(OUT LPCRITICAL_SECTION lpCriticalSection)
#define CONTAINING_RECORD(address, type, field)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
DWORD WINAPI GetLastError(void)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)
#define REGDB_E_CLASSNOTREG
static HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define REGDB_E_READREGDB
#define CO_E_NOT_SUPPORTED
#define HKEY_LOCAL_MACHINE