Skip to content

Instantly share code, notes, and snippets.

D:\a\_work\1\s\BuildOutput\Release\x64\WindowsAppRuntime_DLL\WindowsAppRuntimeInsights.h(53)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFDFBB3206B: (caller: 00007FFDFBB2D898) LogHr(1) tid(242f0) 8007007E The specified module could not be found.
Msg:[Unable to load resource dll. Microsoft.WindowsAppRuntime.Insights.Resource.dll]
D:\a\_work\1\s\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(814)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFDFBB2A779: (caller: 00007FFDFBB292CF) LogHr(2) tid(242f0) 80040010 Object is not in any of the inplace active states
Msg:[Bootstrap.Intitialize: Scanning packages for Major.Minor=1.1, Tag=, MinVersion=0.0.0.0] CallContext:[\Initialize]
D:\a\_work\1\s\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(923)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFDFBB2B1FE: (caller: 00007FFDFBB292CF) LogHr(3) tid(242f0) 80040012 Not able to perform the operation because object is not given storage yet
Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM
KernelBase.dll!RaiseException()
vcruntime140d.dll!00007ffe3367b650()
TestApplication.exe!winrt::throw_hresult(const winrt::hresult result) Line 4968
at C:\Users\lyahdav\Downloads\TestApplication\TestApplication\TestApplication\x64\Debug\Generated Files\winrt\base.h(4968)
TestApplication.exe!winrt::check_hresult(const winrt::hresult result) Line 5039
at C:\Users\lyahdav\Downloads\TestApplication\TestApplication\TestApplication\x64\Debug\Generated Files\winrt\base.h(5039)
TestApplication.exe!winrt::get_activation_factory<winrt::Microsoft::UI::Xaml::IApplicationStatics>(const winrt::param::hstring & name) Line 6079
at C:\Users\lyahdav\Downloads\TestApplication\TestApplication\TestApplication\x64\Debug\Generated Files\winrt\base.h(6079)
TestApplication.exe!winrt::impl::factory_cache_entry<winrt::Microsoft::UI::Xaml::Application,winrt::Microsoft::UI::Xaml::IApplicationStatics>::call<`winrt::Microsoft::UI::Xaml::Application::Start'::`2'::<lambda_1> &>(winrt::Microsoft::UI::Xaml::Application::Start::__l2::<lambd
#import <React/RCTBridgeModule.h>
@interface ContextMenuNativeModule : NSObject <RCTBridgeModule>
@end
#import "ContextMenuNativeModule-macOS.h"
#import <React/RCTImageLoaderWithAttributionProtocol.h>
#import <React/RCTImageSource.h>
#import <React/RCTUIManager.h>
typedef NS_ENUM(NSInteger, MenuPlacement) {
MenuPlacementTopLeft,
MenuPlacementTopRight,
MenuPlacementBottomLeft,
#pragma once
#include <NativeModules.h>
#include <mutex>
#include <winrt/Windows.UI.Core.h>
#include <winrt/Windows.UI.Xaml.Controls.Primitives.h>
#include <winrt/Windows.UI.Xaml.Controls.h>
#include "ContextMenuNativeModule-win.h"
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.UI.Core.h>
#include <winrt/Windows.UI.Xaml.Controls.Primitives.h>
#include <winrt/Windows.UI.Xaml.Controls.h>
namespace winrt {
using namespace winrt::Windows::UI::Core;
import {
Image,
View,
NativeModules,
findNodeHandle,
ImageSourcePropType,
} from 'react-native';
export type MenuPlacement =
| 'top-left'
// (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
#include "ContextMenuModule.h"
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.UI.Core.h>
#include <winrt/Windows.UI.Xaml.Controls.Primitives.h>
#include <winrt/Windows.UI.Xaml.Controls.h>
using namespace Microsoft::ReactNative;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "FocusZoneViewManager.h"
#include "ViewControl.h"
#include "DynamicAutomationProperties.h"
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include <Views/ShadowNodeBase.h>
#include "FlyoutViewManager.h"
#include "TouchEventHandler.h"
#include "ViewPanel.h"