Moait
홈인기 피드모든 블로그모든 태그
홈인기 피드모든 블로그모든 태그
Why does <code>SHFormat­Date­Time</code> take an unaligned <code>FILETIME</code>? 섬네일

Why does <code>SHFormat­Date­Time</code> take an unaligned <code>FILETIME</code>?

Microsoft Developer faviconMicrosoft Developer·Architecture·
SHFormatDateTimeFILETIMEPIDLWindows Shell
2025년 11월 03일0

AI 요약

이 글은 AI가 요약했어요. 정확한 내용은 꼭 원문을 확인해 주세요!

핵심 요약

Microsoft Developer가 SHFormatDateTime가 FILETIME의 미정렬 포인터를 허용한 이유를 역사적 맥락과 현재 관점에서 설명했습니다.

주요 경험

  • pidl 내부의 정렬 제약으로 미정렬 FILETIME를 허용한 배경
  • 95년 x86 호환성에서 NT 이식 시 함수의 처리 방식이 포용적으로 바뀐 점
  • 현재는 호출 측에서 FILETIME를 정렬하라는 시사점

얻은 인사이트

  • 구식 API의 호환성은 포팅 전략의 중요한 변수
  • 정렬 책임의 분담이 유지보수에 큰 영향

연관 피드

%가 높을수록 이 글과 비슷할 가능성이 높아요!
What makes <CODE>cheap_<WBR>steady_<WBR>clock</CODE> faster than <CODE>std::<WBR>chrono::<WBR>high_<WBR>resolution_<WBR>clock</CODE>? 섬네일
55%

What makes <CODE>cheap_<WBR>steady_<WBR>clock</CODE> faster than <CODE>std::<WBR>chrono::<WBR>high_<WBR>resolution_<WBR>clock</CODE>?

Microsoft Developer faviconMicrosoft Developer·2025년 10월 22일
Windows Runtime design principle: Properties can be set in any order 섬네일
54%

Windows Runtime design principle: Properties can be set in any order

Microsoft Developer faviconMicrosoft Developer·2025년 10월 23일
How can I detect that Windows is running in S-Mode, redux 섬네일
52%

How can I detect that Windows is running in S-Mode, redux

Microsoft Developer faviconMicrosoft Developer·2025년 11월 17일