RoInitialize function Null safety winrt

int RoInitialize (
  1. int initType
)

Initializes the Windows Runtime on the current thread with the specified concurrency model.

HRESULT RoInitialize(
  RO_INIT_TYPE initType
);

Implementation

int RoInitialize(int initType) {
  final _RoInitialize = _api_ms_win_core_winrt_l1_1_0.lookupFunction<
      Int32 Function(Int32 initType),
      int Function(int initType)>('RoInitialize');
  return _RoInitialize(initType);
}