GetBufHandle (filename)
Returns the handle of the open file buffer whose name is filename. This function searches all open file buffers to find the one that matches the given filename parameter. GetBufHandle returns hNil if no buffer can be found with the given file name.