# File lib/childprocess/windows/handle.rb, line 26
      def initialize(handle, pid)
        unless handle.kind_of?(FFI::Pointer)
          raise TypeError, "invalid handle: #{handle.inspect}"
        end

        if handle.null?
          raise ArgumentError, "handle is null: #{handle.inspect}"
        end

        @pid    = pid
        @handle = handle
        @closed = false
      end