Export (0) Print
Expand All

IAppxBlockMapFile::ValidateFileHash method

Validates the content of a file against the hashes stored in the block elements for this block map file.

Syntax


HRESULT ValidateFileHash(
  [in]           IStream *fileStream,
  [out, retval]  BOOL *isValid
);

Parameters

fileStream [in]

Type: IStream*

The stream that contains the file's contents. The stream must support Read, Seek, and Stat. If these methods fail, their error codes might be passed to and returned by this method.

isValid [out, retval]

Type: BOOL*

TRUE if the file hash validates; otherwise, FALSE.

Return value

Type: HRESULT

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

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_IAppxBlockMapFile is defined as 277672ac-4f63-42c1-8abc-beae3600eb59

See also

IAppxBlockMapFile

 

 

Show:
© 2014 Microsoft