次の方法で共有


ICcConnection::SearchFileSystem (Windows Embedded CE 6.0)

1/5/2010

This method searches the file system.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT SearchFileSystem(
  LPCOLESTR in_Criteria,
  LPCOLESTR in_StartingDirectory,
  SAFEARRAY( BSTR )* out_FileSystems
);

Parameters

  • in_Criteria
    [in] Search argument, such as *.* for all files.
  • in_StartingDirectory
    [in] Directory to begin the search from.
  • out_FileSystems
    [out] Array of values found.

Return Value

If the method fails, it returns an HRESULT error code.

If the method succeeds, it returns S_OK.

Requirements

Header ccconnection.h
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro

See Also

Reference

ICcConnection
Core Connectivity Interfaces