delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/19/02:26:33

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 630AE3858433
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1710829591;
bh=Fg1wcgX8J2vPg3Mmj4yDa613wDTxVEn1EBa6l3503qY=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=e8RxpY+pusJZDkJmWwBMw4ys3gAC/RyHfiynJu9osPQLpQ5IhYIiUuoaR+5o+9xDU
qSIHSB+lKDh2VG+XWlZyQrQxVz5n/DUSqLyOb9l2dgrrMzyebXACtEyt4dOqVada9S
nHX8ZxFPqBVheUlbM/0KZj1QISZSaLNAUZRMgTiI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3D23E3858C78
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3D23E3858C78
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710829535; cv=none;
b=trCgb9f4lsmrh6OQsceiJqXMcBd9isBxVTLzLHoYfdSvih+iGJFxCK1DmfyLPuZtgMz3A3z6ekqUPzyqVI3+e7b6pRKnCq/sPsgVlVz5BgJc3OiqX2NdOY9n718laLvjYLchCHl1GbbHSFZDYeDUtpg6sKMlFkpNmETQR9oZLpQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1710829535; c=relaxed/simple;
bh=VCGWkl4p0b5G2N+Kv4fCrFNBjX/Er7J8Q8k3rqp/iTE=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=ds04pNg71PF+qURYDKRJDDzLRsKzYYOBOs8v72fd557vqIRZq7SfK2RhNdg2iZUl5ml9pqwnAN46qOJEcB7t/EJ3x2Qht2XBm+U0JgCzr0Xc5T0xdsuAgYuJ1uaLX2a6aYmAsyneWa2ejUtFh8rIaVgwicMANUsYZMPZex60p0E=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1710829532; x=1711434332;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=RFSb4UVtkZfETDb+aweBnZsbtZTprEQyEejnu/fdw1U=;
b=PQQ2LIPqldynvQXJc+W6RrCsreMwf+7AJt/hX8YjSlXdqlud5tjbHFt5HCrOMQP8aN
040BgO5X7LDNaEQ/IVXZUo4DBm7+KUSyktshoZcqkX0QR00tZReo4GwdJAy6rz+pzP+K
OWQZ5QFkLD+PLwT9KMLBAbrFjdGhu7AE98S/HDUdAHSyPD1rj+uuEVy/sLrutfV+xlte
vx8pcOcA4EBXR6rHSKd1exWSnD1IWNih+VdYbCPvWDXICtL0XQc64UO78WLUTPJbfWeg
O41IDlyk93Eq5VCWK5LIaDEXJvWhhZg2NVTmUqIO551Qerb825ItZ92z3z6BiATWGBDx
EDbg==
X-Gm-Message-State: AOJu0YwtGekgG+7CrQUhPtXnOPrOMwOvSiBnDVt/Lx3PjkWhMU78oBib
Ev2hjrHFWS1W3kfvIa3zQkfadmmi8K0AfjY1CQid3ONRZKcus7rd4OzDcXdAYC5YHzjS2c24jhg
yTSrlgZd+bO3qOpJHQRcLNo5bffs9AghbKK0=
X-Google-Smtp-Source: AGHT+IEwBM0ggjBBzDUevkC3jEypM/mUrkPR3YqIuuQjlNLQsg15Rlh7+x3asO0t/Mr31LE6O96UEEnXSDoZkXJSKzk=
X-Received: by 2002:a05:6402:378c:b0:568:9995:d14c with SMTP id
et12-20020a056402378c00b005689995d14cmr996779edb.18.1710829532472; Mon, 18
Mar 2024 23:25:32 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 19 Mar 2024 07:25:00 +0100
Message-ID: <CALXu0UdrjFfhrBmBPNYepvMJ3hL7CPf1n6HEowxZgOxwdoy1TA@mail.gmail.com>
Subject: GetVersionEx() depreciated,
what should be used instead for Windows 7/8/10?
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Cedric Blancher via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cedric Blancher <cedric DOT blancher AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Good morning!

How does cygwin uname -s work, i.e. how does it get the OS version,
revision and build number ('10.0-19045')?
I tried to replicate it via GetVersionEx(), but that is deprecated.

Ced
-- 
Cedric Blancher <cedric DOT blancher AT gmail DOT com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019