|
|
|
|
PE_getFileSize
Find the actual size of a PE file image
Declaration
ulong PEAPI PE_getFileSize(
FILE *f,
ulong startOffset)
Prototype In
drvlib/peloader.h
Parameters
f |
Handle to open file to read driver from |
startOffset |
Offset to the start of the driver within the file |
Return Value
Size of the DLL file on disk, or -1 on error
Description
This function scans the headers for a Portable Binary DLL to determine the length of the DLL file on disk.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com