FREGetContextNativeData()

AIR 3.0 and later

Usage

FREResult FREGetContextNativeData( FREContext ctx, void** nativeData );

Parameters

ctx
An FREContext variable. The runtime passed this value to FREContextInitializer() . See FREContextInitializer() .

nativeData
A pointer to a pointer to the native data.

Returns

An FREResult. The possible return values include, but are not limited to, the following:

FRE_OK
The function succeeded. The nativeData parameter is set to point to the context’s native data.

FRE_INVALID_ARGUMENT
The nativeData parameter is NULL .

FRE_WRONG_THREAD
The method was called from a thread other than the one on which the runtime has an outstanding call to a native extension function.

Description

Call this function to get an extension context’s native data.

// Ethnio survey code removed