title | titleSuffix | description | manager | author | ms.author | ms.date | ms.service | ms.custom | ms.topic |
---|---|---|---|---|---|---|---|---|---|
Lock_Deinit function reference | Microsoft Docs |
Azure IoT C SDK |
This is the function reference page for the Lock_Deinit() function in the Azure IoT C SDK. This SDK is used with Azure IoT Hub and Azure IoT Hub Device Provisioning Service |
timlt |
wesmc7777 |
wesmc |
03/25/2022 |
iot-hub |
reference |
The lock instance is destroyed.
#include "azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/lock.h"
LOCK_RESULT Lock_Deinit(LOCK_HANDLE handle);
handle
A valid handle to the lock.
Returns LOCK_OK when the lock object has been destroyed and LOCK_ERROR when an error occurs.