mirror of
https://github.com/reactos/reactos.git
synced 2025-06-19 03:55:21 +00:00
[SDK] Add some missing headers
This commit is contained in:
parent
1c5ddc893a
commit
dc0433f02a
9 changed files with 258 additions and 0 deletions
43
sdk/include/winrt/roapi.h
Normal file
43
sdk/include/winrt/roapi.h
Normal 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
|
23
sdk/include/winrt/wrl/wrappers/corewrappers.h
Normal file
23
sdk/include/winrt/wrl/wrappers/corewrappers.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue