Please don't rely on pData being an `IInternetProtocolSink*`. Use `dwState` with a custom value (like in the patch implementation) to signalize that pData is in deed `IInternetProtocolSink*`.