GetCurrentBuf ()

Returns a handle to the current buffer. The current buffer is the file buffer that appears in the front-most source file window. Returns hNil if there is no current buffer (i.e. no open source file windows).