API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_PlatformInitializeWindowsAsynchronousEx Function

Performs the initialization of the platform for use on Windows. Requires your app ID (not access token). This call may fail for a variety of reasons, and will return an error code in that case. It is critical to respect this error code and either exit or make no further platform calls.
outResult will contain the result of attempting to load the DLL. If that fails, the returning ovrRequest will be 0.
NOTE: Just because the DLL is loaded successfully does NOT mean that the initialization was successful, you still need to check the message queue for the result in ovrMessage_PlatformInitializeWindowsAsynchronous

Signature

ovrRequest ovr_PlatformInitializeWindowsAsynchronousEx(const char *appId, ovrPlatformInitializeResult *outResult, int productVersion, int majorVersion)

Parameters

appId: const char *
productVersion: int
majorVersion: int

Returns