mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
[PowerRename] Using File Date Time Attributes Feature (#4722)
* Add basic using file attributes functionality * Correctly return result * Refactor * Move retrieving date attribute to get function * Cover various milliseconds patterns, retrieve file attributes only when needed * Correctly check if date/time pattern is used. Remove wstring cast * Use correct flags on CreateFile call to handle directories * rebase to master * Perform transform operation at last to make it not mess with date/time variables * Refactor, remove extra space
This commit is contained in:
committed by
GitHub
parent
ebe70a52d1
commit
a8153dd8db
@@ -43,6 +43,7 @@ interface __declspec(uuid("C7F59201-4DE1-4855-A3A2-26FC3279C8A5")) IPowerRenameI
|
||||
{
|
||||
public:
|
||||
IFACEMETHOD(get_path)(_Outptr_ PWSTR* path) = 0;
|
||||
IFACEMETHOD(get_date)(_Outptr_ SYSTEMTIME* date) = 0;
|
||||
IFACEMETHOD(get_shellItem)(_Outptr_ IShellItem** ppsi) = 0;
|
||||
IFACEMETHOD(get_originalName)(_Outptr_ PWSTR* originalName) = 0;
|
||||
IFACEMETHOD(get_newName)(_Outptr_ PWSTR* newName) = 0;
|
||||
|
||||
Reference in New Issue
Block a user