SNIPacketAllocate() static private method

static private SNIPacketAllocate ( SafeHandle pConn, IOType IOType, IntPtr &pPacket ) : void
pConn System.Runtime.InteropServices.SafeHandle
IOType IOType
pPacket IntPtr
return void
 internal SNIPacket(SafeHandle sniHandle) : base(IntPtr.Zero, true)
 {
     SNINativeMethodWrapper.SNIPacketAllocate(sniHandle, SNINativeMethodWrapper.IOType.WRITE, ref base.handle);
     if (IntPtr.Zero == base.handle)
     {
         throw SQL.SNIPacketAllocationFailure();
     }
 }