Microsoft SDK for Java

addDestroyCallback

This method of the Direct3dRMObject Class registers a function to be called when an object is destroyed.

Syntax

public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);

Parameters

fn The callback interface that contains a user-defined callback function that will be called when the object is destroyed.
Arg Application-defined data passed to the callback function. Because this function is called after the object has been destroyed, you should not call this function with the object as an argument.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.