2019-10-18 11:57:19 +08:00
|
|
|
#pragma once
|
|
|
|
|
2019-12-17 16:21:46 +08:00
|
|
|
#include <common.h>
|
|
|
|
#include <lib/PowerRenameInterfaces.h>
|
|
|
|
|
2020-07-02 16:52:01 +08:00
|
|
|
HRESULT GetTrimmedFileName(_Out_ PWSTR result, UINT cchMax, _In_ PCWSTR source);
|
|
|
|
HRESULT GetTransformedFileName(_Out_ PWSTR result, UINT cchMax, _In_ PCWSTR source, DWORD flags);
|
2019-12-19 17:15:54 +08:00
|
|
|
HRESULT EnumerateDataObject(_In_ IUnknown* pdo, _In_ IPowerRenameManager* psrm);
|
2019-10-18 11:57:19 +08:00
|
|
|
BOOL GetEnumeratedFileName(
|
2019-12-20 21:59:20 +08:00
|
|
|
__out_ecount(cchMax) PWSTR pszUniqueName,
|
|
|
|
UINT cchMax,
|
|
|
|
__in PCWSTR pszTemplate,
|
|
|
|
__in_opt PCWSTR pszDir,
|
|
|
|
unsigned long ulMinLong,
|
2019-10-18 11:57:19 +08:00
|
|
|
__inout unsigned long* pulNumUsed);
|