https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4ff55ad48e68d7c05a0c44...
commit 4ff55ad48e68d7c05a0c44cca808e91d5975a72f Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Thu Jul 6 08:29:45 2023 +0900 Commit: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com CommitDate: Thu Jul 6 08:29:45 2023 +0900
[ATL] atlimage.h: s/IsGuidEqual/::IsEqualGUID/
CORE-18867 --- sdk/lib/atl/atlimage.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/sdk/lib/atl/atlimage.h b/sdk/lib/atl/atlimage.h index 5d8eed02029..9765b0e70d5 100644 --- a/sdk/lib/atl/atlimage.h +++ b/sdk/lib/atl/atlimage.h @@ -557,7 +557,7 @@ public:
// if the file type is null, get the file type from extension const GUID *FileType = &guidFileType; - if (IsGuidEqual(guidFileType, GUID_NULL)) + if (::IsEqualGUID(guidFileType, GUID_NULL)) { LPCWSTR pszExt = GetFileExtension(pszNameW); FileType = FileTypeFromExtension(pszExt); @@ -1074,7 +1074,7 @@ protected: const size_t count = _countof(table); for (size_t i = 0; i < count; ++i) { - if (IsGuidEqual(table[i].guid, *guid)) + if (::IsEqualGUID(table[i].guid, *guid)) { int num = GetEncoderClsid(table[i].mime, clsid); if (num >= 0) @@ -1116,18 +1116,6 @@ protected: return -1; // failure }
- bool IsGuidEqual(const GUID& guid1, const GUID& guid2) const - { - RPC_STATUS status; - if (::UuidEqual(const_cast<GUID *>(&guid1), - const_cast<GUID *>(&guid2), &status)) - { - if (status == RPC_S_OK) - return true; - } - return false; - } - void AttachInternal(HBITMAP hBitmap, DIBOrientation eOrientation, LONG iTransColor) {