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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com