术语 | shgetimagelist |
释义 | SHGetImageList 语法: HRESULT SHGetImageList( int iImageList, REFIID riid, void **ppv ); SHGetImageList功能 检索图像列表。 参数 iImageList [in]的图像类型清单中的。其中以下值: SHIL_LARGE 为0x0。图像大小通常是32x32像素。但是,如果使用大图标的选项是从在显示属性的外观选项卡效果部分选定,该图像是48x48像素。 SHIL_SMALL 为0x1。这些图像标准的外壳16 * 16小图标大小,但大小可以由用户定制。 SHIL_EXTRALARGE 0x2。这些图像是壳牌标准特大图标大小。这通常是48x48,但大小可以由用户定制。 SHIL_SYSSMALL 0x3。这些图像通过与SM_CXSMICON和GetSystemMetrics称为GetSystemMetrics指定的大小与SM_CYSMICON要求。 SHIL_JUMBO 改为0x4。 Windows Vista和更高版本。该图像是一般256x256像素。 SHIL_LAST 最大有效的标志值,是为了进行验证。 riid [in]参考图像列表接口标识符,通常IID_IImageList。 PPV的 [内]当此方法返回,包含了接口指针riid请求。这通常是IImageList。 返回值 返回S_OK如果成功,或其他错误值。 备注 在IImageList指针类型,返回的,例如在PPV的参数,可以作为需要HIMAGELIST投;例如,在列表视图中使用。相反,一个HIMAGELIST可以强制转换为一个IImageList指针。 作为Windows Vista,SHIL_SMALL,SHIL_LARGE和SHIL_EXTRALARGE与每英寸(dpi),如果该进程被标记为dpi的识别点的规模。若要设置这些种类dpi的意识,呼吁SetProcessDPIAware功能。 SHIL_JUMBO固定为256像素的分辨率,无论感知设置。 功能信息 最低DLL版本 shell32.dll 自定义ImplementationNo Headershellapi.h import libraryNone XP的最低经营systemsWindows 参见 FileIconInit ==英文原文==SHGetImageList Function Retrieves an image list. Syntax HRESULT SHGetImageList( int iImageList, REFIID riid, void **ppv ); Parameters iImageList [in] The image type contained in the list. One of the following values: SHIL_LARGE 0x0. The image size is normally 32x32 pixels. However, if the Use large icons option is selected from the Effects section of the Appearance tab in Display Properties, the image is 48x48 pixels. SHIL_SMALL 0x1. These images are the Shell standard small icon size of 16x16, but the size can be customized by the user. SHIL_EXTRALARGE 0x2. These images are the Shell standard extra-large icon size. This is typically 48x48, but the size can be customized by the user. SHIL_SYSSMALL 0x3. These images are the size specified by GetSystemMetrics called with SM_CXSMICON and GetSystemMetrics called with SM_CYSMICON. SHIL_JUMBO 0x4. Windows Vista and later. The image is normally 256x256 pixels. SHIL_LAST The largest valid flag value, for validation purposes. riid [in] Reference to the image list interface identifier, normally IID_IImageList. ppv [out] When this method returns, contains the interface pointer requested in riid. This is typically IImageList . Return Value Returns S_OK if successful, or an error value otherwise. Remarks The IImageList pointer type, such as that returned in the ppv parameter, can be cast as an HIMAGELIST as needed; for example, for use in a list view. Conversely, an HIMAGELIST can be cast as a pointer to an IImageList. As of Windows Vista, SHIL_SMALL, SHIL_LARGE, and SHIL_EXTRALARGE scale with dots per inch (dpi) if the process is marked as dpi-aware. To set these types to be dpi-aware, call SetProcessDPIAware Function . SHIL_JUMBO is fixed at 256 pixels regardless of the dpi-aware setting. Function Information Minimum DLL Versionshell32.dll Custom ImplementationNo Headershellapi.h Import libraryNone Minimum operating systemsWindows XP See Also FileIconInit ==原始网址==http://msdn.microsoft.com/en-us/library/bb762185(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。