JsGetContextData Function

Gets the internal data set on JsrtContext.

Syntax

STDAPI_(JsErrorCode) JsGetContextData(  
  _In_ JsContextRef context,  
  _Out_ void **data  
);  

Parameters

context
The context to get the data from.

data
The pointer to the data where data will be returned.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)