Reactos
at master 43 lines 646 B view raw
1/* 2 * PROJECT: ReactOS SDK 3 * LICENSE: MIT (https://spdx.org/licenses/MIT) 4 * PURPOSE: WinRT Runtime Object API 5 * COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org) 6 */ 7 8#pragma once 9#define __ROAPI_H_ 10 11#include <sal.h> 12 13#ifdef __cplusplus 14extern "C" { 15#endif 16 17#ifdef _ROAPI_ 18 #define ROAPI 19#else 20 #define ROAPI DECLSPEC_IMPORT 21#endif 22 23typedef enum RO_INIT_TYPE 24{ 25 RO_INIT_SINGLETHREADED = 0, 26 RO_INIT_MULTITHREADED = 1, 27} RO_INIT_TYPE; 28 29ROAPI 30_Check_return_ 31HRESULT 32WINAPI 33RoInitialize( 34 _In_ RO_INIT_TYPE initType); 35 36ROAPI 37void 38WINAPI 39RoUninitialize(void); 40 41#ifdef __cplusplus 42} // extern "C" 43#endif