# SimConnect_ClearClientDataDefinition The **SimConnect\_ClearClientDataDefinition** function is used to clear the definition of the specified client data.   ##### Syntax ``` cpp HRESULT SimConnect_ClearClientDataDefinition( HANDLE hSimConnect, SIMCONNECT_CLIENT_DATA_DEFINITION_ID DefineID ); ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |---------------|----------------------------------------------------------------|---------| | *hSimConnect* | Handle to a SimConnect object. | Integer | | *DefineID* | Specifies the ID of the client defined client data definition. | Integer | {{< /table-wrapper >}}   ##### Return Values The function returns an **HRESULT**. Possible values include, but are not limited to, those in the following table. {{< table-wrapper >}} | Return value | Description | |--------------|-------------------------| | S\_OK | The function succeeded. | | E\_FAIL | The function failed. | {{< /table-wrapper >}}   ##### Remarks N/A