On Wed Jul 27 13:32:40 2022 +0000, Giovanni Mascellani wrote:
Does it make sense to store this pointer? We're unregistering notifications, so we don't expect this context to be used anymore (until the next `RegisterNotification()` call, but then a new pointer will be given). Does the caller have any visibility into the pointer stored here?
Thinking better, it might be the case that the pointer passed here is somewhat visible to the caller, given that the XACT notification system is quite convoluted and notifications can be registered and unregistered for individual objects. It wouldn't be bad to have some tests showing this behaviour on Windows, though.