Declaration: ReadPerkinElmerHeader (FName: string; var PEHeader: TPEHeader): integer;
The function ReadPerkinElmerHeader reads the PerkinElmer FSM file FName and returns its header parameters in the variable PEHeader.

The function returns the following error codes:

 0 ... everything is OK, PEHeader is valid
-1 ... file FName does not exist
-2 ... file FName does not comply to PE block structure file