Skip to content

Commit 99511ce

Browse files
committed
add comment for ERROR_MORE_DATA
1 parent 6bda0fc commit 99511ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/APILayerStore_windows.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ std::vector<APILayer> WindowsAPILayerStore::GetAPILayers() const noexcept {
101101
moreItems = false;
102102
break;
103103
case ERROR_MORE_DATA:
104+
// If it's bigger than a DWORD, it's definitely not a DWORD :)
104105
layers.push_back({
105106
.mJSONPath = {std::wstring_view {nameBuffer, nameSize}},
106107
.mValue = Value::Win32_NotDWORD,

0 commit comments

Comments
 (0)