Skip to content

JsObjectBeforeCollectCallback

Limin Zhu edited this page Oct 9, 2015 · 1 revision

A callback called before collecting an object.

Syntax

typedef void (CALLBACK *JsObjectBeforeCollectCallback)(_In_ JsRef ref, _In_opt_ void *callbackState);

Parameters

  • ref: The object to be collected.
  • callbackState: The state passed to JsSetObjectBeforeCollectCallback

Remarks

Use JsSetObjectBeforeCollectCallback to register this callback.

Clone this wiki locally