SystemWindows Class Reference

#include <system_win.h>

Detailed Description

@MAXON_ANNOTATION{nullimpl=true}

Static Public Member Functions

static MAXON_METHOD Result< void > CoInitializeEx (void *reserved, UInt32 coInit)
 
static MAXON_METHOD void CoUninitialize ()
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (SystemWindows, MAXON_REFERENCE_STATIC, "net.maxon.interface.systemwindows")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( SystemWindows  ,
MAXON_REFERENCE_STATIC  ,
"net.maxon.interface.systemwindows"   
)
private

◆ CoInitializeEx()

static MAXON_METHOD Result<void> CoInitializeEx ( void *  reserved,
UInt32  coInit 
)
static

Calls the CoInitializeEx function of the Windows API. If it was already called for the current thread, the functions returns S_OK.

Parameters
[in]reservedMust be nullptr.
[in]coInitDwCoInit.
Returns
Result of the CoInitialize system call.

◆ CoUninitialize()

static MAXON_METHOD void CoUninitialize ( )
static

Calls CoUninitialize if this is the last call for the current thread.