VpnChannel.GetVpnReceivePacketBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests a VpnPacketBuffer object from the receive packet buffer pool to be used in the decapsulation or injection of a received packet from the VPN server into the local network stack
public:
virtual VpnPacketBuffer ^ GetVpnReceivePacketBuffer() = GetVpnReceivePacketBuffer;
VpnPacketBuffer GetVpnReceivePacketBuffer();
public VpnPacketBuffer GetVpnReceivePacketBuffer();
function getVpnReceivePacketBuffer()
Public Function GetVpnReceivePacketBuffer () As VpnPacketBuffer
Returns
The requested packet buffer object.
Windows requirements
App capabilities |
networkingVpnProvider
|
Remarks
Any IVpnPacketBuffer object requested by the plugin must eventually be returned to the VPN platform (i.e. via IVpnPlugIn.Encapsulate or IVpnPlugin.Decapsulate). Otherwise the plugin may be unable to request new buffers until the outstanding buffers have been returned.