Skip to content

Commit

Permalink
Added a constant to check the architecture of running system.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeZanabria authored May 24, 2024
1 parent 3a8a0ee commit a63b447
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/winAPI/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
# This file is covered by the GNU General Public License.
# See the file COPYING for more details.

import winVersion
import enum


#: Verification of the architecture of the running system
is_64Bit = winVersion.getWinVer().processorArchitecture.endswith("64")


class HResult(enum.IntEnum):
# https://docs.microsoft.com/en-us/windows/win32/seccrypto/common-hresult-values
S_OK = 0x00000000
Expand Down

0 comments on commit a63b447

Please sign in to comment.