szaszm commented on code in PR #1900:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1900#discussion_r1859136752
##########
extensions/windows-event-log/wel/WindowsEventLog.h:
##########
@@ -59,22 +59,19 @@ enum METADATA {
UNKNOWN
};
+using METADATA_NAMES = std::vector<std::pair<Metadata, std::string>>;
-// this is a continuous enum, so we can rely on the array
-
-using METADATA_NAMES = std::vector<std::pair<METADATA, std::string>>;
+nonstd::expected<std::string, std::error_code>
formatEvent(gsl::not_null<EVT_HANDLE> metadata, gsl::not_null<EVT_HANDLE>
event, EVT_FORMAT_MESSAGE_FLAGS flags) noexcept;
Review Comment:
`EVT_HANDLE` is an alias to `HANDLE` which is an alias to `void*`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]