Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 969 Bytes

lock-deinit.md

File metadata and controls

30 lines (23 loc) · 969 Bytes
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

Lock_Deinit()

The lock instance is destroyed.

Syntax

#include "azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/lock.h"

LOCK_RESULT Lock_Deinit(LOCK_HANDLE  handle);

Parameters

  • handle A valid handle to the lock.

Return Value

Returns LOCK_OK when the lock object has been destroyed and LOCK_ERROR when an error occurs.