网站首页  词典首页

请输入您要查询的函数:

 

术语 sizeofresource
释义 SizeofResource
语法:
DWORD SizeofResource( HMODULE hModule,
HRSRC hResInfo
);
SizeofResource功能
返回的大小,以字节为单位指定的资源。
参数
hModule
[in]句柄模块的可执行文件中包含的资源。
hResInfo
[in]句柄资源。这种处理必须使用FindResource或FindResourceEx函数创建。
返回值
如果函数成功,返回值是字节的资源数量。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
例如
有关示例,请参见更新资源。
功能信息
最低DLL版本 kernel32.dll
在Winbase.h HeaderDeclared,头文件:winuser.h
import libraryKernel32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
资源概况,FindResource,FindResourceEx
==英文原文==SizeofResource Function
Returns the size, in bytes, of the specified resource.
Syntax
DWORD SizeofResource( HMODULE hModule,
HRSRC hResInfo
);
Parameters
hModule
[in] Handle to the module whose executable file contains the resource.
hResInfo
[in] Handle to the resource. This handle must be created by using the FindResource or FindResourceEx function.
Return Value
If the function succeeds, the return value is the number of bytes in the resource.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Example
For an example, see Updating Resources .
Function Information
Minimum DLL Versionkernel32.dll
HeaderDeclared in Winbase.h, include Windows.h
Import libraryKernel32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Resources Overview , FindResource , FindResourceEx
==原始网址==http://msdn.microsoft.com/en-us/library/ms648048(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:24:10