Partager via


IAppxManifestTargetDeviceFamiliesEnumerator::GetCurrent method

Gets the target device family at the current position of the enumerator.

Syntax

HRESULT GetCurrent(
  [out, retval] IAppxManifestTargetDeviceFamily **targetDeviceFamily
);

Parameters

  • targetDeviceFamily [out, retval]
    The current target device family.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxManifestTargetDeviceFamiliesEnumerator is defined as 36537F36-27A4-4788-88C0-733819575017

See also

IAppxManifestTargetDeviceFamiliesEnumerator