[SDK] Add some missing headers

This commit is contained in:
Timo Kreuzer 2024-05-26 15:26:23 +03:00
parent 1c5ddc893a
commit dc0433f02a
9 changed files with 258 additions and 0 deletions

43
sdk/include/winrt/roapi.h Normal file
View file

@ -0,0 +1,43 @@
/*
* PROJECT: ReactOS SDK
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: WinRT Runtime Object API
* COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org)
*/
#pragma once
#define __ROAPI_H_
#include <sal.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _ROAPI_
#define ROAPI
#else
#define ROAPI DECLSPEC_IMPORT
#endif
typedef enum RO_INIT_TYPE
{
RO_INIT_SINGLETHREADED = 0,
RO_INIT_MULTITHREADED = 1,
} RO_INIT_TYPE;
ROAPI
_Check_return_
HRESULT
WINAPI
RoInitialize(
_In_ RO_INIT_TYPE initType);
ROAPI
void
WINAPI
RoUninitialize(void);
#ifdef __cplusplus
} // extern "C"
#endif

View file

@ -0,0 +1,23 @@
/*
* PROJECT: ReactOS SDK
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: WinRT core wrappers
* COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org)
*/
#pragma once
#define _WRL_COREWRAPPERS_H_
#include <windows.h>
#include <intsafe.h>
#include <roapi.h>
#ifdef __cplusplus
extern "C" {
#endif
// TBD
#ifdef __cplusplus
} // extern "C"
#endif