UNREFERENCED_PARAMETER(ca_guid);\r
UNREFERENCED_PARAMETER(ph_uvp_ca);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(h_uvp_ca);\r
UNREFERENCED_PARAMETER(ph_uvp_pd);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(p_addr_vector);\r
UNREFERENCED_PARAMETER(ph_uvp_av);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(p_srq_attr);\r
UNREFERENCED_PARAMETER(ph_uvp_srq);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(p_srq_attr);\r
UNREFERENCED_PARAMETER(srq_attr_mask);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
{\r
UNREFERENCED_PARAMETER(h_uvp_srq);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(h_uvp_qp);\r
UNREFERENCED_PARAMETER(p_modify_attr);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
{\r
UNREFERENCED_PARAMETER(h_uvp_qp);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(p_size);\r
UNREFERENCED_PARAMETER(ph_uvp_cq);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(h_uvp_cq);\r
UNREFERENCED_PARAMETER(p_size);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r
UNREFERENCED_PARAMETER(h_uvp_pd);\r
UNREFERENCED_PARAMETER(ph_uvp_mw);\r
\r
- p_umv_buf->input_size = 0;\r
+ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
return IB_SUCCESS;\r
}\r
\r