다음을 통해 공유


VersionInfo 구조체(windowsappsdk-versioninfo.h)

구문

struct VersionInfo {
#if ...
  struct {
    uint16_t Major;
    uint16_t Minor;
    uint16_t Patch;
    uint32_t MajorMinor;
    PCWSTR   Channel;
    PCWSTR   VersionTag;
    PCWSTR   VersionShortTag;
  } Release;
#else
  Release Release;
#endif
#if ...
  struct {
#if ...
    struct {
      PCWSTR Publisher;
      PCWSTR PublisherId;
    } Identity;
#else
    Identity Identity;
#endif
#if ...
    struct {
      uint16_t Major;
      uint16_t Minor;
      uint16_t Build;
      uint16_t Revision;
      uint64_t UInt64;
      PCWSTR   DotQuadString;
    } Version;
#else
    Version  Version;
#endif
  } Runtime;
#else
  Runtime Runtime;
#endif
};

멤버

Release

Release.Major

Release.Minor

Release.Patch

Release.MajorMinor

Release.Channel

Release.VersionTag

Release.VersionShortTag

Runtime

Runtime.Identity

Runtime.Identity.Publisher

Runtime.Identity.PublisherId

Runtime.Version

Runtime.Version.Major

Runtime.Version.Minor

Runtime.Version.Build

Runtime.Version.Revision

Runtime.Version.UInt64

Runtime.Version.DotQuadString

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 10, 버전 1809(Windows 앱 SDK 1.0 이상 포함)
머리글 windowsappsdk-versioninfo.h