Ets_Nt_Clipboard_Callback_Register()
Note: Requires OPNET Development Kit
Abstract
Registers a clipboard callback to be invoked before and after a clipboard (cut, copy, or delete) operation.
Syntax
EtsT_Nt_Clipboard_Callback_Register (callback_proc, state_ptr)
| Argument | Type | Description |
|---|---|---|
callback_proc |
EtsT_Nt_Clipboard_Callback |
Procedure used to implement the new clipboard callback. |
state_ptr |
void * |
Arbitrary state that the user wants passed into the callback when it is called |
Return Type
void
No return value.
Header
ets_api_nt_cback.h
Details
A clipboard callback function can be used in conjunction with a clipboard filter callback. It is primarily useful for notification purposes.
If a clipboard callback has been registered, it is invoked immediately before and after the clipboard operation (cut, copy or delete) is performed on the objects.
The prototype for callback_proc is given by EtsT_Nt_Clipboard_Callback.