<div class="content" name="CERTVIEWRESTRICTION" uuid="5503c7fa-c78e-4fda-adc9-21030751bce7"><p>The CERTVIEWRESTRICTION structure is used to restrict the
data set that is returned by the <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c925d5d7-a442-4ba4-9586-5f94ccec847a" data-linktype="relative-path">CA</a></span> server during
calls to the OpenView method for the ICertAdminD interface.</p><p>This structure is passed by <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a></span> technology, as
specified in <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>,
and does not need special marshaling.</p><dl>
<dd>
<div><pre> typedef struct _CERTVIEWRESTRICTION {
   DWORD ColumnIndex;
   LONG SeekOperator;
   LONG SortOrder;
   [size_is(cbValue), unique] BYTE* pbValue;
   DWORD cbValue;
 } CERTVIEWRESTRICTION;
</pre></div>
</dd></dl><p><b>ColumnIndex:</b>  An unsigned integer
value that specifies the identifier for the database column that is receiving
the restriction.</p><p><b>SeekOperator:</b>  An integer value that
specifies the logical operator of the data-query qualifier for the column. This
parameter MUST be set to one of the following values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0x00000001</td>
  <td>Equal to</td>
 </tr><tr>
  <td>0x00000002</td>
  <td>Less than</td>
 </tr><tr>
  <td>0x00000004</td>
  <td>Less than or equal to</td>
 </tr><tr>
  <td>0x00000008</td>
  <td>Greater than or equal to</td>
 </tr><tr>
  <td>0x00000010</td>
  <td>Greater than</td>
 </tr></tbody></table>
</dd></dl><p><b>SortOrder:</b>  An integer value that
specifies the sort order for the column. This parameter MUST be set to one of
the following values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0x00000000</td>
  <td>No sort order</td>
 </tr><tr>
  <td>0x00000001</td>
  <td>Ascending</td>
 </tr><tr>
  <td>0x00000002</td>
  <td>Descending</td>
 </tr></tbody></table>
</dd></dl><p><b>pbValue:</b>  A pointer to a byte array
that specifies the value against which the value in the corresponding column
(specified by <b>ColumnIndex</b>) is compared, using SeekOperator.</p><p><b>cbValue:</b>  An unsigned integer value
that specifies the length of the byte array that is pointed to by the <b>pbValue</b>
field. </p></div>