RtlGetVersion1 [WDK] RtlGetVersion 함수 NTSTATUS NTAPI RtlGetVersion(RTL_OSVERSIONINFOW *Info) { if (Info->dwOSVersionInfoSize == sizeof(RTL_OSVERSIONINFOW) || Info->dwOSVersionInfoSize == sizeof(RTL_OSVERSIONINFOEXW)) { PPEB Peb = NtCurrentPeb(); Info->dwMajorVe rsion = Peb->OSMajorVersion; Info->dwMinorVe rsion = Peb->OSMinorVersion; Info->dwBuildNu mber = Peb->OSBuildNumber; Info->dwPlatfor mId = Peb->OSPlatformId; if(((Peb->OSCSD .. 2009. 3. 10. 이전 1 다음