Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the runtime to load the source code of the serialized script. The caller must keep the script buffer valid until the JsSerializedScriptUnloadCallback
.
Syntax
typedef bool (CALLBACK * JsSerializedScriptLoadSourceCallback)(
_In_ JsSourceContextsourceContext,
_Outptr_result_z_ const wchar_t** scriptBuffer
);
Parameters
sourceContext
The context passed to JsParseSerializedScriptWithCallback
or JsRunSerializedScriptWithCallback
.
scriptBuffer
The script returned.
Remarks
Warning
Requirements
Header: jsrt.h