---
UID: NF:clusapi.CLUSCTL_GET_CONTROL_OBJECT
title: CLUSCTL_GET_CONTROL_OBJECT macro (clusapi.h)
description: Extracts the object code from a control code. For more information on the various codes that comprise a control code, see Control Code Architecture.
old-location: mscs\clusctl_get_control_object.htm
tech.root: MsCS
ms.assetid: b49c030e-fe7a-45cd-bbbf-0056763d827c
ms.date: 12/05/2018
ms.keywords: CLUSCTL_GET_CONTROL_OBJECT, CLUSCTL_GET_CONTROL_OBJECT macro [Failover Cluster], _wolf_clusctl_get_control_object, clusapi/CLUSCTL_GET_CONTROL_OBJECT, mscs.clusctl_get_control_object
f1_keywords:
- clusapi/CLUSCTL_GET_CONTROL_OBJECT
dev_langs:
- c++
req.header: clusapi.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: None supported
req.target-min-winversvr: Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- ClusAPI.h
api_name:
- CLUSCTL_GET_CONTROL_OBJECT
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# CLUSCTL_GET_CONTROL_OBJECT macro


## -description


Extracts the object code from a control code. For more information on the various codes that comprise a control code, see  <a href="https://docs.microsoft.com/previous-versions/windows/desktop/mscs/control-code-architecture">Control Code Architecture</a>.


## -parameters




### -param ControlCode

The control code to be analyzed.

