Ets_Nt_Clipboard_Filter_Register()
Note: Requires OPNET Development Kit
Abstract
Registers a function to be invoked when a user runs a cut/copy/delete operation and a callback function is needed to process the operation.
Syntax
EtsT_Nt_Clipboard_Filter_Register (callback_proc, state_ptr)
| Argument | Type | Description |
|---|---|---|
callback_proc |
EtsT_Nt_Clipboard_Filter_Callback |
Procedure used to implement the clipboard-filter operation. |
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-filter callback function is useful when cutting/copying/deleting objects might have undesirable effects, and a callback is needed to filter objects before they are placed in the clipboard.
If a clipboard-filter callback has been registered, it is invoked immediately after a user performs a cut/copy/delete operation, but before the selected objects are copied to the clipboard.
The prototype for callback_proc is given by EtsT_Nt_Clipboard_Filter_Callback.