This function takes the following parameters:
List of controls that you want to check.
OID of the control that you want to find.
If the control is present in the list of controls, this function specifies the pointer to the berval structure containing the value of the control. If you do not want to receive a pointer to the control value, pass NULL for this parameter.
If the control is present in the list of controls, this function specifies whether or not the control is critical to the operation of the server:
0 means that the control is not critical to the operation.
1 means that the control is critical to the operation.
If you do not want to receive an indication of whether the control is critical or not, pass NULL for this parameter.