Microsoft DirectX 8.1 (C++)

MSEventBinder.Unbind

This topic applies to Windows XP Home Edition and Windows XP Professional 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