__in HANDLE PortHandle,
      __in PPORT_MESSAGE Message,
      __in ULONG DataEntryIndex,

Routine Description:

    This routine is used to copy data from the user supplied buffer into the
    port message


    PortHandle - Supplies the port into which the message is being written

    Message - Supplies the message that we are trying to write

    DataEntryIndex - Supplies the index of the port data entry in the
        preceding message that we are writing

    Buffer - Supplies the location into which the data is to be written

    BufferSize - Supplies the size, in bytes, of the preceding buffer

    NumberOfBytesWritten - Optionally returns the number of bytes written from
        the buffer

Return Value:

    NTSTATUS - An appropriate status value