Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add projected winrt wrapper for server com interface and add tests #1373

Merged
merged 70 commits into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
32ccafc
Merge pull request #1 from microsoft/master
sreadingMSFT Mar 22, 2021
ef00fb8
Merge pull request #3 from ashpatil-msft/master
sreadingMSFT Mar 26, 2021
da6aa19
Merge pull request #5 from microsoft/master
sreadingMSFT Apr 27, 2021
bad3b48
Merge branch 'microsoft:master' into master
sreadingMSFT May 20, 2021
105a7f5
Merge branch 'microsoft:master' into master
sreadingMSFT May 24, 2021
a0ebabb
Merge branch 'microsoft:master' into master
sreadingMSFT Jun 15, 2021
906e4c9
Merge branch 'microsoft:master' into master
sreadingMSFT Jun 17, 2021
4d20d75
Merge branch 'microsoft:master' into master
sreadingMSFT Jun 19, 2021
6c16c79
Add c# in proc winrt wrapper and projection
sreadingMSFT Jun 26, 2021
cd2629b
Add wrapper implementation and project
sreadingMSFT Aug 4, 2021
a8ab9d4
Merge branch 'microsoft:master' into comtesting
sreadingMSFT Aug 4, 2021
214f6b8
Override factory to return objects.
sreadingMSFT Aug 15, 2021
a09ad24
Merge branch 'microsoft:master' into comtesting
sreadingMSFT Aug 15, 2021
b1af536
Fix unreferenced parameters.
sreadingMSFT Aug 15, 2021
e9afd23
Guid name updates.
sreadingMSFT Aug 16, 2021
8c31226
Undo unneccessary changes.
sreadingMSFT Aug 16, 2021
d2d45d7
Merge branch 'microsoft:master' into comtesting
sreadingMSFT Aug 19, 2021
b3d3a07
Remove projection.
sreadingMSFT Aug 19, 2021
dc2d71e
Spelling changes.
sreadingMSFT Aug 19, 2021
eb31f6e
Simplify packaged test csproj file.
sreadingMSFT Aug 20, 2021
5d041fd
Update guids\packagereference versions.
sreadingMSFT Aug 21, 2021
732e330
Remove anycpu
sreadingMSFT Aug 25, 2021
48669bd
Append defines instead of overriding.
sreadingMSFT Aug 25, 2021
40d62a9
Attempt switch to packages.config for nuget
sreadingMSFT Aug 25, 2021
84d7982
Add packagereference back.
sreadingMSFT Aug 25, 2021
95c024d
Try packages.config again.
sreadingMSFT Aug 25, 2021
763f2e1
Try direct restore of csproj
sreadingMSFT Aug 26, 2021
20e11a5
Try workaround solutiondir issue
sreadingMSFT Aug 26, 2021
40ad2db
Try fix bundleplatforms.
sreadingMSFT Aug 26, 2021
83bd272
Change outputpath
sreadingMSFT Aug 26, 2021
d6ddc08
Remove output path
sreadingMSFT Aug 27, 2021
94dba4b
Make client and server have separate lib names.
sreadingMSFT Aug 28, 2021
76c83ef
Add output path back.
sreadingMSFT Aug 28, 2021
2c58369
Merge branch 'master' into comtesting
sreadingMSFT Aug 28, 2021
2903f18
Merge build break fix to allow pipeline run.
sreadingMSFT Aug 28, 2021
8325d9d
Move test package to its own solution.
sreadingMSFT Aug 30, 2021
d8ac3da
Microsoft.Management.Deployment.Client buildchange
sreadingMSFT Aug 31, 2021
fde3252
Merge local master to comtesting (#16)
sreadingMSFT Aug 31, 2021
097cc58
Remove unneccessary cpp files
sreadingMSFT Aug 31, 2021
cb105ce
Merge branch 'master' into comtesting
sreadingMSFT Aug 31, 2021
e32bf8d
Run Com Interface tests
sreadingMSFT Sep 3, 2021
f9b6032
Add appxrecipe to spelling
sreadingMSFT Sep 3, 2021
345100b
Update test path
sreadingMSFT Sep 3, 2021
ee6ac78
Update test paths.
sreadingMSFT Sep 7, 2021
2681ebc
Remove test adapter dll from testassembly
sreadingMSFT Sep 7, 2021
0ed4c0c
Add powershell task to install wingetdev
sreadingMSFT Sep 8, 2021
6934b83
Add runsettings file to publish logs.
sreadingMSFT Sep 8, 2021
33dc1fe
Test installing package in vstest
sreadingMSFT Sep 9, 2021
d112dc5
Try newer windows server.
sreadingMSFT Sep 9, 2021
893724e
Try enable com tracing for tests.
sreadingMSFT Sep 9, 2021
9d3cf61
Try direct run of vstest
sreadingMSFT Sep 10, 2021
729a22c
Fix install script to call add script.
sreadingMSFT Sep 10, 2021
c14f1d8
Fix appxpackages path.
sreadingMSFT Sep 10, 2021
c125c0c
Fix path again, remove trace
sreadingMSFT Sep 10, 2021
e088c8c
Extract unsigned package for loose register
sreadingMSFT Sep 10, 2021
ed0a486
reenable tracing
sreadingMSFT Sep 10, 2021
d5bf1df
Include server in packagedtests
sreadingMSFT Sep 10, 2021
22468d0
Remove build dependency on wingetserver project
sreadingMSFT Sep 10, 2021
225ce50
Try tracelog comtracing.
sreadingMSFT Sep 10, 2021
6d68e6f
Fix powershell args.
sreadingMSFT Sep 11, 2021
f764883
Handle variable azure src dir paths.
sreadingMSFT Sep 11, 2021
4a226d1
Make Dll version of com server and use for tests
sreadingMSFT Sep 23, 2021
67206e1
Fix library name parameter.
sreadingMSFT Sep 23, 2021
b0dc811
Merge branch 'microsoft:master' into comtesting
sreadingMSFT Sep 23, 2021
750e003
Remove com tracing. Fix test.
sreadingMSFT Sep 23, 2021
34bfab9
Fix copyright and spelling.
sreadingMSFT Sep 24, 2021
a6dba4e
Merge branch 'master' into comtesting
sreadingMSFT Oct 8, 2021
c67af0e
Try decrease build disk size.
sreadingMSFT Oct 13, 2021
3dde67e
Merge branch 'comtesting' of https://github.com/sreadingMSFT/winget-c…
sreadingMSFT Oct 13, 2021
42bcdbf
Merge branch 'microsoft:master' into comtesting
sreadingMSFT Oct 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ addmanifest
addstore
admins
alloc
altform
anonymize
api
APIENTRY
appdata
appinst
appinstaller
Expand All @@ -17,6 +19,7 @@ appx
appxbundle
appxbundles
appxmanifest
appxrecipe
appxsdk
APSTUDIO
argc
Expand Down Expand Up @@ -105,6 +108,7 @@ DIRECTONLY
distro
dll
dllexport
dllmain
docx
dotnet
downlevel
Expand Down Expand Up @@ -132,6 +136,7 @@ EULA
EVENTTAG
exe
executables
executionengine
exeenus
exeinteractive
exelog
Expand Down Expand Up @@ -185,6 +190,7 @@ html
http
https
Hyperlink
IActivation
IApplication
IAppx
IAsync
Expand Down Expand Up @@ -337,6 +343,7 @@ PBYTE
pch
PCWSTR
pdb
pdbonly
PEVENT
pfp
PGP
Expand Down Expand Up @@ -487,6 +494,7 @@ TARG
TARGETDIR
targetentrypoint
targetnametoken
targetsize
tdbuild
tdd
tellg
Expand All @@ -503,13 +511,15 @@ Timeline
todo
tokenizer
tolower
Toolchain
toupper
TOutput
towlower
TRACELOGGING
triaged
trunc
TRUSTEDPEOPLE
trx
tt
ttl
typedef
Expand Down Expand Up @@ -576,6 +586,7 @@ wcsicmp
webpage
wekyb
wil
wildcards
WINAPI
WINEVENT
winget
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
abcd
activatable
adml
admx
affle
Expand Down Expand Up @@ -81,6 +82,7 @@ countof
countryregion
convertto
createmanifestmetadata
CSharp
cstdint
ctc
Ctx
Expand Down Expand Up @@ -166,6 +168,7 @@ installshield
insufficientmemory
IPackage
IPersist
IRead
IService
ISettings
ishelp
Expand Down Expand Up @@ -239,6 +242,7 @@ mylog
mysilent
mysilentwithprogress
mytool
NETFX
netlify
Newtonsoft
Nieto
Expand Down Expand Up @@ -372,6 +376,7 @@ VERSI
VERSIE
vns
vscode
vstest
vy
wcslen
webpages
Expand Down
19 changes: 18 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ jobs:
displayName: Restore AppInstallerTestMsixInstaller
inputs:
restoreSolution: 'src\AppInstallerTestMsixInstaller\AppInstallerTestMsixInstaller.wapproj'

- task: NuGetCommand@2
displayName: Restore PackagedTests
inputs:
restoreSolution: 'src\PackagedTests\PackagedTests.csproj'

# Restores only .NET core projects, but is still necessary, as without this the IndexCreationTool and LocalhostWebServer projects fail to build
- task: DotNetCoreCLI@2
Expand All @@ -81,11 +86,12 @@ jobs:
arguments: '-TargetFile binver\binver\version.h -BuildVersion $(BuildVer)'
workingDirectory: 'src'

# Build all solutions in the root directory.
- task: VSBuild@1
displayName: Build Solution
inputs:
platform: 'x86'
solution: '$(solution)'
solution: 'src\*.sln'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)"
/p:AppxPackageDir="$(appxPackageDir)"
Expand Down Expand Up @@ -302,6 +308,17 @@ jobs:
publishLocation: 'Container'
condition: succeededOrFailed()

- task: VSTest@2
displayName: Run Com Interface Tests
inputs:
testRunTitle: 'Com Interface Tests'
platform: 'x64'
testSelector: 'testAssemblies'
testAssemblyVer2: |
src\x86\Release\PackagedTests\x64\PackagedTests\PackagedTests.build.appxrecipe
runSettingsFile: 'src\x86\Release\PackagedTests\Test.runsettings'
condition: succeededOrFailed()

- task: PublishBuildArtifacts@1
displayName: Publish CLI Binary
inputs:
Expand Down
54 changes: 54 additions & 0 deletions src/AppInstallerCLI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ VisualStudioVersion = 16.0.29409.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "AppInstallerCLIPackage", "AppInstallerCLIPackage\AppInstallerCLIPackage.wapproj", "{6AA3791A-0713-4548-A357-87A323E7AC3A}"
ProjectSection(ProjectDependencies) = postProject
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD} = {4BC1F40B-36C2-4BBB-8306-76E490B13BBD}
{1CC41A9A-AE66-459D-9210-1E572DD7BE69} = {1CC41A9A-AE66-459D-9210-1E572DD7BE69}
{5B6F90DF-FD19-4BAE-83D9-24DAD128E777} = {5B6F90DF-FD19-4BAE-83D9-24DAD128E777}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppInstallerCLI", "AppInstallerCLI\AppInstallerCLI.vcxproj", "{5B6F90DF-FD19-4BAE-83D9-24DAD128E777}"
Expand Down Expand Up @@ -123,6 +125,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinGetServer", "WinGetServe
{1CC41A9A-AE66-459D-9210-1E572DD7BE69} = {1CC41A9A-AE66-459D-9210-1E572DD7BE69}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Management.Deployment.Client", "Microsoft.Management.Deployment.Client\Microsoft.Management.Deployment.Client.vcxproj", "{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Management.Deployment.Server.Test", "Microsoft.Management.Deployment.Server.Test\Microsoft.Management.Deployment.Server.Test.vcxproj", "{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
ManifestSchema\ManifestSchema.vcxitems*{1622da16-914f-4f57-a259-d5169003cc8c}*SharedItemsImports = 4
Expand Down Expand Up @@ -528,6 +534,54 @@ Global
{2B00D362-AC92-41F3-A8D2-5B1599BDCA01}.Release|x64.Build.0 = Release|x64
{2B00D362-AC92-41F3-A8D2-5B1599BDCA01}.Release|x86.ActiveCfg = Release|Win32
{2B00D362-AC92-41F3-A8D2-5B1599BDCA01}.Release|x86.Build.0 = Release|Win32
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|ARM.ActiveCfg = Debug|ARM
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|ARM.Build.0 = Debug|ARM
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|ARM64.Build.0 = Debug|ARM64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|x64.ActiveCfg = Debug|x64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|x64.Build.0 = Debug|x64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|x86.ActiveCfg = Debug|Win32
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Debug|x86.Build.0 = Debug|Win32
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|ARM.ActiveCfg = Debug|ARM
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|ARM.Build.0 = Debug|ARM
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|ARM64.ActiveCfg = Debug|ARM64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|ARM64.Build.0 = Debug|ARM64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|x64.ActiveCfg = Debug|x64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|x64.Build.0 = Debug|x64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|x86.ActiveCfg = Debug|Win32
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Fuzzing|x86.Build.0 = Debug|Win32
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|ARM.ActiveCfg = Release|ARM
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|ARM.Build.0 = Release|ARM
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|ARM64.ActiveCfg = Release|ARM64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|ARM64.Build.0 = Release|ARM64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|x64.ActiveCfg = Release|x64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|x64.Build.0 = Release|x64
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|x86.ActiveCfg = Release|Win32
{4BC1F40B-36C2-4BBB-8306-76E490B13BBD}.Release|x86.Build.0 = Release|Win32
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|ARM.ActiveCfg = Debug|ARM
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|ARM.Build.0 = Debug|ARM
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|ARM64.ActiveCfg = Debug|ARM64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|ARM64.Build.0 = Debug|ARM64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|x64.ActiveCfg = Debug|x64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|x64.Build.0 = Debug|x64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|x86.ActiveCfg = Debug|Win32
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Debug|x86.Build.0 = Debug|Win32
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|ARM.ActiveCfg = Debug|ARM
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|ARM.Build.0 = Debug|ARM
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|ARM64.ActiveCfg = Debug|ARM64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|ARM64.Build.0 = Debug|ARM64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|x64.ActiveCfg = Debug|x64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|x64.Build.0 = Debug|x64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|x86.ActiveCfg = Debug|Win32
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Fuzzing|x86.Build.0 = Debug|Win32
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|ARM.ActiveCfg = Release|ARM
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|ARM.Build.0 = Release|ARM
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|ARM64.ActiveCfg = Release|ARM64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|ARM64.Build.0 = Release|ARM64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|x64.ActiveCfg = Release|x64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|x64.Build.0 = Release|x64
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|x86.ActiveCfg = Release|Win32
{7DE2CFC7-5AAE-4F89-BF42-8D231E389687}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "CreateCompositePackageCatalogOptions.g.h"

namespace winrt::Microsoft::Management::Deployment::factory_implementation
{
struct CreateCompositePackageCatalogOptions : CreateCompositePackageCatalogOptionsT<CreateCompositePackageCatalogOptions, implementation::CreateCompositePackageCatalogOptions>
{
auto ActivateInstance() const
{
return winrt::create_instance<winrt::Microsoft::Management::Deployment::PackageManager>(__uuidof(implementation::CreateCompositePackageCatalogOptions), CLSCTX_ALL);
}
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "FindPackagesOptions.g.h"

namespace winrt::Microsoft::Management::Deployment::factory_implementation
{
struct FindPackagesOptions : FindPackagesOptionsT<FindPackagesOptions, implementation::FindPackagesOptions>
{
auto ActivateInstance() const
{
return winrt::create_instance<winrt::Microsoft::Management::Deployment::PackageManager>(__uuidof(implementation::FindPackagesOptions), CLSCTX_ALL);
}
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "InstallOptions.g.h"

namespace winrt::Microsoft::Management::Deployment::factory_implementation
{
struct InstallOptions : InstallOptionsT<InstallOptions, implementation::InstallOptions>
{
auto ActivateInstance() const
{
return winrt::create_instance<winrt::Microsoft::Management::Deployment::PackageManager>(__uuidof(implementation::InstallOptions), CLSCTX_ALL);
}
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#pragma once
#include "PackageManager.g.h"

namespace winrt::Microsoft::Management::Deployment::factory_implementation
{
struct PackageManager : PackageManagerT<PackageManager, implementation::PackageManager>
{
auto ActivateInstance() const
{
return winrt::create_instance<winrt::Microsoft::Management::Deployment::PackageManager>(__uuidof(implementation::PackageManager), CLSCTX_ALL);
}
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "PackageMatchFilter.g.h"

namespace winrt::Microsoft::Management::Deployment::factory_implementation
{
struct PackageMatchFilter : PackageMatchFilterT<PackageMatchFilter, implementation::PackageMatchFilter>
{
auto ActivateInstance() const
{
return winrt::create_instance<winrt::Microsoft::Management::Deployment::PackageManager>(__uuidof(implementation::PackageMatchFilter), CLSCTX_ALL);
}
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#pragma warning( push )
#pragma warning ( disable : 4467 6388)
#include <CreateCompositePackageCatalogOptions.h>
#include <Client.CreateCompositePackageCatalogOptions.h>
#pragma warning( pop )
#include "CreateCompositePackageCatalogOptions.g.cpp"

namespace winrt::Microsoft::Management::Deployment::implementation
{
winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::Management::Deployment::PackageCatalogReference> CreateCompositePackageCatalogOptions::Catalogs()
{
throw hresult_not_implemented();
}
winrt::Microsoft::Management::Deployment::CompositeSearchBehavior CreateCompositePackageCatalogOptions::CompositeSearchBehavior()
{
throw hresult_not_implemented();
}
void CreateCompositePackageCatalogOptions::CompositeSearchBehavior(winrt::Microsoft::Management::Deployment::CompositeSearchBehavior const&)
{
throw hresult_not_implemented();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#pragma warning( push )
#pragma warning ( disable : 4467 6388)
#include <FindPackagesOptions.h>
#include <Client.FindPackagesOptions.h>
#pragma warning( pop )
#include "FindPackagesOptions.g.cpp"

namespace winrt::Microsoft::Management::Deployment::implementation
{
winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::Management::Deployment::PackageMatchFilter> FindPackagesOptions::Selectors()
{
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::Management::Deployment::PackageMatchFilter> FindPackagesOptions::Filters()
{
throw hresult_not_implemented();
}
uint32_t FindPackagesOptions::ResultLimit()
{
throw hresult_not_implemented();
}
void FindPackagesOptions::ResultLimit(uint32_t)
{
throw hresult_not_implemented();
}
}
Loading