From 081df56d186ad7c15ad7b25375418bf26c1c31fe Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 3 Feb 2022 15:46:25 +0100 Subject: [PATCH] Fix MsiFormatRecordW forward declaration to match implementation Signed-off-by: Simon Rozman --- include/WinStd/MSI.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/WinStd/MSI.h b/include/WinStd/MSI.h index b2438f2d..e4af36ec 100644 --- a/include/WinStd/MSI.h +++ b/include/WinStd/MSI.h @@ -52,7 +52,8 @@ static UINT MsiFormatRecordA(_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _I /// /// \sa [MsiFormatRecord function](https://msdn.microsoft.com/en-us/library/aa370109.aspx) /// -template UINT MsiFormatRecordW(_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _Inout_ std::basic_string<_Elem, _Traits, _Ax> &sValue); +template +static UINT MsiFormatRecordW(_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _Inout_ std::basic_string<_Elem, _Traits, _Ax> &sValue); /// /// Reads bytes from a record stream field into a std::vector buffer.