Re: What (or where) is LSTATUS ?
- From: Luca Bacci <luca bacci982 gmail com>
- To: John Emmas <john creativepost co uk>
- Cc: gtk-i18n-list gnome org
- Subject: Re: What (or where) is LSTATUS ?
- Date: Sun, 16 Dec 2018 14:47:03 +0100
Great! I think we should change LSTATUS to LONG then. Would you mind creating a MR for that in Pango? That would be really useful! Thanks for researching.
Luca
On 14/12/2018 16:59, John Emmas wrote:
I've a feeling that LSTATUS might be possibly an obsolete type (on
checking other libraries, everything that assigns the return value
from RegOpenKeyEx() seems to expect a return type of LONG)
[...]
I guess you could also use LRESULT
FWIW I just came across this list of Windows Data Types on MSDN:-
https://docs.microsoft.com/en-us/windows/desktop/WinProg/windows-data-types
Note that LONG and LRESULT are both listed (although LRESULT is
apparently intended for pointer types). However, there's no type
any more called LSTATUS. Also, the last copies of WinReg.h (i.e.
the last ones which list LSTATUS) seem to be from either mingw or
VC6. The more recent ones all use LONG now - i.e.
WINADVAPI
LONG
APIENTRY
RegOpenKeyExA (
__in HKEY hKey,
__in_opt LPCSTR lpSubKey,
__reserved DWORD ulOptions,
__in REGSAM samDesired,
__out PHKEY phkResult
);
Hope that helps, John
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]