SizeofResource (Windows CE 5.0)

Send Feedback

This function returns the size, in bytes, of the specified resource.

DWORD SizeofResource(HMODULEhModule, HRSRChResInfo );

Parameters

  • hModule
    Handle to the module whose executable file contains the resource.
  • hResInfo
    Handle to the resource. This handle must be created by using the FindResource function.

Return Values

The number of bytes in the resource indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

FindResource | LoadResource | Using Resources

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.