pub unsafe extern "C" fn OH_NativeDisplayManager_CreatePrimaryDisplay(
displayInfo: *mut *mut NativeDisplayManager_DisplayInfo,
) -> NativeDisplayManagerResultAvailable on crate feature
api-14 only.Expand description
Create a primary display.
§Arguments
displayInfo- The information of the created display.
§Returns
- { DISPLAY_MANAGER_OK } If the operation is successful. { DISPLAY_MANAGER_ERROR_INVALID_PARAM } If Parameter error. { DISPLAY_MANAGER_ERROR_SYSTEM_ABNORMAL } If display manager service works abnormally.
Available since API-level: 14