SetBufDirty (hbuf, fDirty)

Sets the dirty state of the given buffer to fDirty. A dirty buffer is one that has been edited since is was opened or saved. A dirty buffer contains changes that have not been saved.

When the user closes a dirty buffer, Source Insight prompts to save the file. You can use this function to un-dirty a buffer so that the user is not prompted to save it.