Requested API Structure and constants

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
jacdelad
Addict
Addict
Posts: 1402
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: Requested API Structure and constants

Post by jacdelad »

Mentioned from spikey in this thread: viewtopic.php?p=600709#p600709

Code: Select all

Enumeration 0
  #NOTIFY_FOR_THIS_SESSION
  #NOTIFY_FOR_ALL_SESSIONS
EndEnumeration

Enumeration 1
  #WTS_CONSOLE_CONNECT
  #WTS_CONSOLE_DISCONNECT
  #WTS_REMOTE_CONNECT
  #WTS_REMOTE_DISCONNECT
  #WTS_SESSION_LOGON
  #WTS_SESSION_LOGOFF
  #WTS_SESSION_LOCK
  #WTS_SESSION_UNLOCK
  #WTS_SESSION_REMOTE_CONTROL
  #WTS_SESSION_CREATE
  #WTS_SESSION_TERMINATE
EndEnumeration
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Denis
Enthusiast
Enthusiast
Posts: 703
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Requested API Structure and constants

Post by Denis »

Fred, could you please update these Structures (see the code i've posted about 2,5 years ago).
Thanks.

Structure HDITEM
viewtopic.php?p=560929&hilit=HDITEM#p560929

Structure LVGROUP
viewtopic.php?p=560929&hilit=HDITEM#p560929
A+
Denis
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: Requested API Structure and constants

Post by Rinzwind »

Guess it is about time for a big structured overhaul? Almost everything everything introduced in the win32 lib since era Windows 7+ is missing?

Is there a way/place where I can see the existing API structures/constants and function import declarations as point of reference for additions? Ie declaration of function FindWindow_, structure PROCESS_INFORMATION, constant #HWND_DESKTOP . If not... about time to add part the to github?
Fred
Administrator
Administrator
Posts: 16522
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Requested API Structure and constants

Post by Fred »

All is already in GitHub, under Documentation/Import/ and Residents/ . Feel free to contribute by creating Pull Request if you need it.
Little John
Addict
Addict
Posts: 4518
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Requested API Structure and constants

Post by Little John »

[Windows] Please update the NOTIFYICONDATA structure to its current version.
User avatar
jacdelad
Addict
Addict
Posts: 1402
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: Requested API Structure and constants

Post by jacdelad »

COMBOBOXINFO

Code: Select all

Structure COMBOBOXINFO
  cbSize.l
  rcItem.RECT
  rcButton.RECT
  stateButton.l
  hwndCombo.i
  hwndItem.i
  hwndList.i
EndStructure
and
#CB_GETCOMBOBOXVALUE = $164
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
Caronte3D
Addict
Addict
Posts: 1000
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Requested API Structure and constants

Post by Caronte3D »

#PW_RENDERFULLCONTENT = $00000002
Post Reply