pVerbsData->command = Command;\r
pVerbsData->input_size = (UINT32) InputLength;\r
pVerbsData->output_size = (UINT32) OutputLength;\r
- pVerbsData->p_inout_buf = pBuffer;\r
+ pVerbsData->p_inout_buf = (ULONG_PTR) pBuffer;\r
pVerbsData->status = 0;\r
}\r
\r
pId->Id = m_pDevice->m_Id;\r
pId->VerbInfo = verbsData.command;\r
pId->Data = (UINT32) *pEntries;\r
- RtlCopyMemory(pId + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pId + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_CQ_CREATE,\r
pId, sizeof WV_IO_ID + verbsData.input_size,\r
}\r
\r
verbsData.status = pId->VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pId + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pId + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
pId->Id = m_Id;\r
pId->VerbInfo = verbsData.command;\r
pId->Data = (UINT32) *pEntries;\r
- RtlCopyMemory(pId + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pId + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_CQ_RESIZE,\r
pId, sizeof WV_IO_ID + verbsData.input_size,\r
}\r
\r
verbsData.status = pId->VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pId + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pId + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
\r
pId->Id = m_Guid;\r
pId->VerbInfo = verbsData.command;\r
- RtlCopyMemory(pId + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pId + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_DEVICE_OPEN,\r
pId, sizeof WV_IO_ID + verbsData.input_size,\r
}\r
\r
verbsData.status = pId->VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pId + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pId + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
\r
pId->Id = m_pDevice->m_Id;\r
pId->VerbInfo = verbsData.command;\r
- RtlCopyMemory(pId + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pId + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_PD_ALLOCATE,\r
pId, sizeof WV_IO_ID + verbsData.input_size,\r
}\r
\r
verbsData.status = pId->VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pId + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pId + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
\r
pId->Id = m_pPd->m_Id;\r
pId->VerbInfo = verbsData.command;\r
- RtlCopyMemory(pId + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pId + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_MW_ALLOCATE,\r
pId, sizeof WV_IO_ID + verbsData.input_size,\r
}\r
\r
verbsData.status = pId->VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pId + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pId + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
pav->Id.Id = m_pPd->m_Id;\r
pav->Id.VerbInfo = verbsData.command;\r
WvIoConvertAv(&pav->AddressVector, pAddress);\r
- RtlCopyMemory(pav + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pav + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_AH_CREATE,\r
pav, sizeof WV_IO_AH_CREATE + verbsData.input_size,\r
}\r
\r
verbsData.status = pav->Id.VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pav + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pav + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
pattr->Id.Id = m_pPd->m_Id;\r
pattr->Id.VerbInfo = verbsData.command;\r
WvIoConvertQpCreate(pattr, pAttributes);\r
- RtlCopyMemory(pattr + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pattr + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_QP_CREATE,\r
pattr, sizeof WV_IO_QP_CREATE + verbsData.input_size,\r
}\r
\r
verbsData.status = pattr->Id.VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pattr + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pattr + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
pattr->MaxSge = attr.max_sge;\r
pattr->MaxWr = attr.max_wr;\r
pattr->SrqLimit = attr.srq_limit;\r
- RtlCopyMemory(pattr + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pattr + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_SRQ_CREATE,\r
pattr, sizeof WV_IO_SRQ_ATTRIBUTES + verbsData.input_size,\r
}\r
\r
verbsData.status = pattr->Id.VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pattr + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pattr + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
\r
pattr->Id.Id = m_Id;\r
pattr->Id.VerbInfo = verbsData.command;\r
- RtlCopyMemory(pattr + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pattr + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_SRQ_QUERY,\r
pattr, sizeof WV_IO_SRQ_ATTRIBUTES + verbsData.input_size,\r
}\r
\r
verbsData.status = pattr->Id.VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pattr + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pattr + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r
pattr->Id.VerbInfo = verbsData.command;\r
pattr->MaxWr = attr.max_wr;\r
pattr->SrqLimit = attr.srq_limit;\r
- RtlCopyMemory(pattr + 1, verbsData.p_inout_buf, verbsData.input_size);\r
+ RtlCopyMemory(pattr + 1, (void *) (ULONG_PTR) verbsData.p_inout_buf,\r
+ verbsData.input_size);\r
\r
if (WvDeviceIoControl(m_hFile, WV_IOCTL_SRQ_MODIFY,\r
pattr, sizeof WV_IO_SRQ_ATTRIBUTES + verbsData.input_size,\r
}\r
\r
verbsData.status = pattr->Id.VerbInfo;\r
- RtlCopyMemory(verbsData.p_inout_buf, pattr + 1, verbsData.output_size);\r
+ RtlCopyMemory((void *) (ULONG_PTR) verbsData.p_inout_buf, pattr + 1,\r
+ verbsData.output_size);\r
buf.Put();\r
\r
post:\r