1# native_interface.h 2 3 4## Overview 5 6Provides a unified entry for the native module APIs. 7 8**Library**: libace_ndk.z.so 9 10**System capability**: SystemCapability.ArkUI.ArkUI.Full 11 12**Since**: 12 13 14**Related module**: [ArkUI_NativeModule](_ark_u_i___native_module.md) 15 16 17## Summary 18 19 20### Macros 21 22| Name | Description | 23| -------- | -------- | 24| [OH_ArkUI_GetModuleInterface](_ark_u_i___native_module.md#oh_arkui_getmoduleinterface)(nativeAPIVariantKind, structType, structPtr) | Obtains the macro function corresponding to a struct pointer based on the struct type. | 25 26 27### Enums 28 29| Name | Description | 30| -------- | -------- | 31| [ArkUI_NativeAPIVariantKind](_ark_u_i___native_module.md#arkui_nativeapivariantkind) { [ARKUI_NATIVE_NODE](_ark_u_i___native_module.md), [ARKUI_NATIVE_DIALOG](_ark_u_i___native_module.md), [ARKUI_NATIVE_GESTURE](_ark_u_i___native_module.md), [ARKUI_NATIVE_ANIMATE](_ark_u_i___native_module.md) } | Defines the native API types. | 32 33 34### Functions 35 36| Name | Description | 37| -------- | -------- | 38| void \* [OH_ArkUI_QueryModuleInterfaceByName](_ark_u_i___native_module.md#oh_arkui_querymoduleinterfacebyname) ([ArkUI_NativeAPIVariantKind](_ark_u_i___native_module.md#arkui_nativeapivariantkind) type, const char \*structName) | Obtains the native API set of a specified type. | 39