PUCHAR
LmpMapFile(
  IN  HANDLE handle,
  IN OUT int *pnbytes
  );

Routine Description:

    This function reads an entire file into memory.

Arguments:

    handle  -  file handle
    pnbytes -  size of the whole file


Return Value:

    the buffer allocated, or NULL if unsuccessful.