Platform SDK: Windows Sockets

Destroying Event Objects

The entity which creates an event object (application or service provider) is responsible for destroying it when it is no longer required. Service providers do this through WPUCloseEvent.