CreateOutputFile PROC

Creates a disk file and opens it in output mode..

Call args:  EDX contains the offset of a filename

Return arg: EAX contains a valid file handle if the operation was successful.
            Otherwise, EAX contains INVALID_HANDLE_VALUE.

Example:
      mov  edx,OFFSET filename
      call CreateOutputFile
      mov  filehandle, EAX
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)