网站首页  词典首页

请输入您要查询的函数:

 

术语 removeprop
释义 RemoveProp
语法:
HANDLE RemoveProp( HWND hWnd,
LPCTSTR lpString
);
RemoveProp功能
该RemoveProp功能消除了从指定的窗口属性列表项。指定的字符串标识项被删除。
参数
hWnd
[in]的窗口句柄其财产清单改变。
lpString
[in]指向一个空结束的字符串或包含一个原子标识一个字符串。如果这个参数是一个原子,它必须是创建使用GlobalAddAtom函数。原子,一个16位的值,必须放置在低lpString命令字;的高位字必须为零。
返回值
返回值标识指定的数据。如果数据不能在指定的属性列表中找到,则返回值为NULL。
备注
返回值是hData价值传递给SetProp,它是一个应用程序定义的值。请注意,此功能不仅毁灭之间的数据和窗口关联。如果合适的话,应用程序必须释放数据从一个属性列表中删除项相关处理。应用程序可以删除只有那些还增加了属性。它必须不删除由其他应用程序或系统本身的属性增加。
该RemoveProp功能相关的数据处理与字符串,使该应用程序可以自由与处理相关的数据回报。
在Windows 95/98/Me:RemovePropW是支持的Unicode(MSLU)微软层。 RemovePropA也支持,提供更一致的行为,在所有Microsoft Windows操作系统。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
Windows Vista的:RemoveProp是受用户界面特权隔离(UIPI)的限制。一个进程可以只要求属于一个较低的Level或等于完整的工艺窗口这个功能。当UIPI块属性更改,GetLastError函数将返回5。
例如
有关示例,请参阅删除一个窗口属性。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
窗口属性概述,AddAtom,GetProp,SetProp
==英文原文==RemoveProp Function
The RemoveProp function removes an entry from the property list of the specified window. The specified character string identifies the entry to be removed.
Syntax
HANDLE RemoveProp( HWND hWnd,
LPCTSTR lpString
);
Parameters
hWnd
[in] Handle to the window whose property list is to be changed.
lpString
[in] Pointer to a null-terminated character string or contains an atom that identifies a string. If this parameter is an atom, it must have been created using the GlobalAddAtom function. The atom, a 16-bit value, must be placed in the low-order word of lpString; the high-order word must be zero.
Return Value
The return value identifies the specified data. If the data cannot be found in the specified property list, the return value is NULL.
Remarks
The return value is the hData value that was passed to SetProp ; it is an application-defined value. Note, this function only destroys the association between the data and the window. If appropriate, the application must free the data handles associated with entries removed from a property list. The application can remove only those properties it has added. It must not remove properties added by other applications or by the system itself.
The RemoveProp function returns the data handle associated with the string so that the application can free the data associated with the handle.
Windows 95/98/Me: RemovePropW is supported by the Microsoft Layer for Unicode (MSLU). RemovePropA is also supported to provide more consistent behavior across all Microsoft Windows operating systems. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Windows Vista: RemoveProp is subject to the restrictions of User Interface Privilege Isolation (UIPI). A process can only call this function on a window belonging to a process of lesser or equal integrity level. When UIPI blocks property changes, GetLastError will return 5.
Example
For an example, see Deleting a Window Property .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Window Properties Overview , AddAtom , GetProp , SetProp
==原始网址==http://msdn.microsoft.com/en-us/library/ms633567(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:16:37