次の方法で共有


ICcBootStrap::GetFileInfo (Compact 2013)

3/26/2014

Deprecated.

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

See Also

Reference

ICcBootstrap
Core Connectivity Interfaces