Partager via


ICcBootStrap::GetFileInfo (Windows Embedded CE 6.0)

1/5/2010

This method gets information about a file on a device.

Syntax

HRESULT GetFileInfo(
  LPCOLESTR wszDeviceFile,
  FileInfo* pFileInfo
);

Parameters

  • wszDeviceFile
    [in] File name (with path) on the device.
  • pFileInfo
    [out, retval] Pointer to FileInfo structure.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates success.

E_INVALIDARG

Indicates that the input arguments are invalid. That is, bstrDeviceFile or pFileInfo is NULL.

E_FAIL

Indicates any other failure.

Requirements

Header ccbootstrap.idl
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ICcBootstrap
Core Connectivity Interfaces