Skip to content

Conversation

KirillAlekseeenko
Copy link

@KirillAlekseeenko KirillAlekseeenko commented May 9, 2025

According to https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-file_notify_information, FileNameLength is the size in bytes, and since we have wide string, actual amount of symbols will be FileNameLength / sizeof(wchar_t)

Without this change I haven't been able to see changes that I do in RenderGraphEditor in Mogwai, when I open RenderGraphEditor through Mogwai with Edit button.

According to https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-file_notify_information, FileNameLength is the size in bytes, and since we have wide string, actual amount of symbols will be FileNameLength / sizeof(wchar_t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant