Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MoveNext method
Collapse the table of content
Expand the table of content

IAppxBlockMapFilesEnumerator::MoveNext method

Advances the position of the enumerator to the next file.

Syntax


HRESULT MoveNext(
  [out, retval] BOOL *hasNext
);

Parameters

hasNext [out, retval]

Type: BOOL*

TRUE if the enumerator successfully advances

FALSE if the enumerator has passed the end of the collection.

Return value

Type: HRESULT

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

Note that when the enumerator passes the end of the collection for the first time, hasNext = FALSE, but the method succeeds and returns S_OK. However, the method returns E_BOUNDS if you subsequently call another MoveNext after you have already passed the end of the collection, and you have previously received hasNext = FALSE.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxBlockMapFilesEnumerator is defined as 02b856a2-4262-4070-bacb-1a8cbbc42305

See also

IAppxBlockMapFilesEnumerator

 

 

Show:
© 2015 Microsoft