MSDN中关于 handle的解释

来源:互联网 发布:Java用户密码加密 编辑:程序博客网 时间:2024/05/18 07:23
看看MSDN中的解释:
handle
1. A pointer to a pointer; that is, a variable that contains the address of another variable, which in turn contains the address of the desired object. In certain operating systems, the handle points to a pointer stored in a fixed location in memory, whereas that pointer points to a movable block. If applications start from the handle whenever they access the block, the operating system can perform memory management tasks such as garbage collection without affecting the applications.

2. Any token that an application can use to identify and access an object such as a device, a file, a window, or a dialog box.

3. One of several small squares displayed around a graphical object in a drawing application. The user can move or reshape the object by clicking on a handle and dragging.
原创粉丝点击