IAppxBlockMapFile::GetName method

Retrieves the name of the associated zip file item.

Syntax


HRESULT GetName(
  [out, retval]  LPWSTR *name
);

Parameters

name [out, retval]

Type: LPWSTR*

In a valid app package, name corresponds to the name of the associated zip file item.

Return value

Type: HRESULT

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

Remarks

The caller is responsible for deallocating the memory used for name. Use the CoTaskMemFree function to deallocate the memory.

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