diff --git a/include/WinStd/Win.h b/include/WinStd/Win.h index 0cc39f2a..9720abbf 100644 --- a/include/WinStd/Win.h +++ b/include/WinStd/Win.h @@ -818,6 +818,10 @@ namespace winstd /// /// \sa [LoadLibraryEx function](https://msdn.microsoft.com/en-us/library/windows/desktop/ms684179.aspx) /// + /// \return + /// - \c true when succeeds; + /// - \c false when fails. Use `GetLastError()` for failure reason. + /// inline bool load(_In_ LPCTSTR lpFileName, __reserved handle_type hFile, _In_ DWORD dwFlags) { handle_type h = LoadLibraryEx(lpFileName, hFile, dwFlags); @@ -856,6 +860,10 @@ namespace winstd /// /// \sa [HeapCreate function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa366599.aspx) /// + /// \return + /// - \c true when succeeds; + /// - \c false when fails. Use `GetLastError()` for failure reason. + /// inline bool create(_In_ DWORD flOptions, _In_ SIZE_T dwInitialSize, _In_ SIZE_T dwMaximumSize) { handle_type h = HeapCreate(flOptions, dwInitialSize, dwMaximumSize);