UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:imagehlp.GetImageUnusedHeaderBytes |
GetImageUnusedHeaderBytes function (imagehlp.h) |
Retrieves the offset and size of the part of the PE header that is currently unused. |
|
base\getimageunusedheaderbytes.htm |
Debug |
4ad9c833-693b-4c19-b397-f97f166efadc |
12/05/2018 |
GetImageUnusedHeaderBytes, GetImageUnusedHeaderBytes function, _win32_getimageunusedheaderbytes, base.getimageunusedheaderbytes, imagehlp/GetImageUnusedHeaderBytes |
imagehlp.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Imagehlp.lib |
Imagehlp.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves the offset and size of the part of the PE header that is currently unused.
A pointer to a LOADED_IMAGE structure that is returned from a call to MapAndLoad or ImageLoad.
A pointer to a variable to receive the size, in bytes, of the part of the image's header which is unused.
If the function succeeds, the return value is the offset from the base address of the first unused header byte.
If the function fails, the return value is zero. To retrieve extended error information, call GetLastError.
All ImageHlp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.