<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
  IgnorableNamespaces="uap mp">
  <Identity Name="Windows.PrintDialog"
    Publisher="CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
    Version="6.2.2.0"
    ResourceId="neutral" />
  <Properties>
    <DisplayName>ms-resource:DisplayName</DisplayName>
    <Description>ms-resource:Description</Description>
    <Logo>Assets\StoreLogo.png</Logo>
    <PublisherDisplayName>ms-resource:PublisherDisplayName</PublisherDisplayName>
  </Properties>

  <Dependencies>
    <TargetDeviceFamily Name="Windows.Universal"
      MinVersion="10.0.0.0"
      MaxVersionTested="1000.22621.1.0" />
  </Dependencies>

  <Resources>
    <Resource Language="en-us" />
  </Resources>

  <Applications>
    <Application Id="Microsoft.Windows.PrintDialog"
      Executable="PrintDialog.exe"
      EntryPoint="AppObject.EntryPoint">
      <uap:VisualElements DisplayName="ms-resource:DisplayName"
        Description="ms-resource:Description"
        AppListEntry="none"
        Square150x150Logo="Assets\StoreLogo.png"
        Square44x44Logo="Assets\Square44x44Logo.png"
        BackgroundColor="transparent">
        <uap:SplashScreen Image="SplashScreen.png" />
      </uap:VisualElements>
      <Extensions>
        <Extension Category="windows.backgroundTasks"
          EntryPoint="PrintBackgroundTask.PrintToastBackgroundTask">
          <BackgroundTasks>
            <Task Type="systemEvent" />
          </BackgroundTasks>
        </Extension>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="ms-print-addprinter">
            <uap:Logo>Assets\StoreLogo.png</uap:Logo>
            <uap:DisplayName>Add a printer</uap:DisplayName>
          </uap:Protocol>
        </uap:Extension>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="ms-print-printjobs">
            <uap:Logo>Assets\StoreLogo.png</uap:Logo>
            <uap:DisplayName>Print job action center</uap:DisplayName>
          </uap:Protocol>
        </uap:Extension>
      </Extensions>
    </Application>
  </Applications>
  <Capabilities>
    <uap:Capability Name="sharedUserCertificates" />
  </Capabilities>
  <Extensions>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>PrintDialog.dll</Path>
        <ActivatableClass ActivatableClassId="PrintBackgroundTask.PrintToastBackgroundTask"
          ThreadingModel="both" />
      </InProcessServer>
    </Extension>
  </Extensions>

</Package>
