Documentation for TransactNamedPipe Function claims that "This parameter can also be a handle to an anonymous pipe, as returned by the CreatePipe function." This would mean that it is possible to use transactions on anonymous pipes. As I understand it transactions are read/write operations and anonymous pipes are either read or write - it doesn't make sense to me.
- Is it really possible to use transactions with anonymous pipes?
- If yes, how? For example which of the two handles obtained from call to CreatePipe should I pass to TransactNamedPipe?