IsOpenDisposition determines if the file disposition leads to opening a file object.
()
| 250 | |
| 251 | // IsOpenDisposition determines if the file disposition leads to opening a file object. |
| 252 | func (e *Event) IsOpenDisposition() bool { |
| 253 | return e.IsCreateFile() && e.Params.MustGetUint32(params.FileOperation) == windows.FILE_OPEN |
| 254 | } |
| 255 | |
| 256 | // StackID returns the integer that is used to stich the callstack present in the StackWalk event. |
| 257 | func (e *Event) StackID() uint64 { |