PEAPI

ModuleRef.MakeFile Method 

Make a file descriptor to correspond to this module. The file descriptor will have the same name as the module descriptor

[Visual Basic]
Public Function MakeFile( _
   ByVal hashBytes As Byte(), _
   ByVal hasMetaData As Boolean, _
   ByVal entryPoint As Boolean _
) As PEAPI.FileRef
[C#]
public FileRef MakeFile(
   byte[] hashBytes,
   bool hasMetaData,
   bool entryPoint
);

Parameters

hashBytes
the hash of the file
hasMetaData
the file contains metadata
entryPoint
the program entry point is in this file

Return Value

a descriptor for the file which contains this module

See Also

ModuleRef Class | ModuleRef Members | PEAPI Namespace