Programmer's Guide

RaDeKL Radar API Programmer’s Guide 12
© Multispectral Solutions, Inc. 2006
RaDeKL_CloseRadar
Close a RaDeKL Radar device previously opened by a call to RaDeKL_OpenRadar.
Format:
ULONG RaDeKL_CloseRadar (RaDeKL_HANDLE handle);
Parameters:
handle RaDeKL_HANDLE as returned by a call to RaDeKL_OpenRadar.
Return Value:
RADEKL_OK (0) if successful, a non-zero status otherwise. See RaDeKL_GetStatusText for codes.
Remarks:
It is highly recommended that you set the handle to NULL after calling this function to avoid accidental use
of a closed handle. See the example for RaDeKL_OpenRadar above.
Example:
See the example for RaDeKL_OpenRadar above.