次の方法で共有


ICcCeshCB::FindFile (Windows Embedded CE 6.0)

1/5/2010

This method notifies clients when a device-side Target Control service requests a file name to be expanded to include the full path.

Syntax

HRESULT FindFile(
  BSTR bstrFileName,
  VARIANT_BOOL fUseExisting,
  BSTR* pbstrFullPath
);

Parameters

  • bstrFileName
    [in] Source file name to be expanded to include the full path.
  • fUseExisting
    [in] Flag indicating that the file must exist on the desktop.

    If set to VARIANT_TRUE, clients must verify that the file exists in the path given by pbstrFullPath.

  • pbstrFullPath
    [out, retval] Full path of the source file, including file name.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the client handled the callback notification properly.

E_FAIL

Indicates failure.

Requirements

Header ccceshcb.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ICcCeshCB
Core Connectivity Interfaces