2.2.4 Errors

All MSSearch Query Protocol messages MUST return a successful HRESULT code on success; otherwise, they return a 32-bit nonzero error code that can be either an HRESULT or an NTSTATUS value, as described in section 1.8.

All error values MUST be treated the same; the error MUST be considered fatal and reported to the higher-layer caller. Future messages MAY be sent over the same pipe as if no error had occurred<7>.