Microsoft DirectX 9.0

MSEventBinder.Unbind

This topic applies to Windows XP only.

The Unbind method removes the binding between an event and its associated event handler.

Syntax

ObjEventBinder.Unbind(
    CancelCookie As <Unsupported variant type>
)

Parameters

CancelCookie

Specifies which event handler to unbind. Use the return value from the MSEventBinder.Bind method.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This method does not return a value.

See Also