From: Ren Hoek <ren@arak.cs.hro.nl>
To: cygwin@cygwin.com
Cc: ren@arak.cs.hro.nl
Subject: 1.1.8-2: TVINSERTSTRUCT & TVITEM missing
Date: Sun, 11 Feb 2001 15:59:00 -0000 [thread overview]
Message-ID: <20010211235908.CB6467C17@hirogen.kabelfoon.nl> (raw)
Hi there,
I've been getting cygwin to compile Putty today. That's an open
source SSH client for windows.
One of the problems I came across was a missing TVINSERTSTRUCT
and TVITEM in the win32 headers. I fixed it by adding the structs
that I included at the bottom of this email. I don't know where
exactly the cygwin headers should be fixed, but I got the program
to compile with the stuff I included.
The structs were shamelessly stolen from the LccWin32 headers.
Hope you can fix it,
Ren Hoek (ren@NOSPAM.arak.cs.hro.nl)
PS.
I was also missing the 'aclapi.h' header file in cygwin. I was
able to compile without this header file by including a define
for putty, but can this header be included in the cygwin pack?
---------------------------------------------------------------------
typedef struct tagTVITEMA {
UINT mask;
HTREEITEM hItem;
UINT state;
UINT stateMask;
LPSTR pszText;
int cchTextMax;
int iImage;
int iSelectedImage;
int cChildren;
LPARAM lParam;
} TVITEMA, *LPTVITEMA;
typedef struct tagTVITEMW {
UINT mask;
HTREEITEM hItem;
UINT state;
UINT stateMask;
LPWSTR pszText;
int cchTextMax;
int iImage;
int iSelectedImage;
int cChildren;
LPARAM lParam;
} TVITEMW, *LPTVITEMW;
#define TV_ITEM TVITEM
#define LPTV_ITEM LPTVITEM
#ifdef UNICODE
#define TVITEM TVITEMW
#define LPTVITEM LPTVITEMW
#else
#define TVITEM TVITEMA
#define LPTVITEM LPTVITEMA
#endif
typedef struct tagTVITEMEXA {
UINT mask;
HTREEITEM hItem;
UINT state;
UINT stateMask;
LPSTR pszText;
int cchTextMax;
int iImage;
int iSelectedImage;
int cChildren;
LPARAM lParam;
int iIntegral;
} TVITEMEXA, *LPTVITEMEXA;
typedef struct tagTVITEMEXW {
UINT mask;
HTREEITEM hItem;
UINT state;
UINT stateMask;
LPWSTR pszText;
int cchTextMax;
int iImage;
int iSelectedImage;
int cChildren;
LPARAM lParam;
int iIntegral;
} TVITEMEXW,*LPTVITEMEXW;
typedef struct tagTVINSERTSTRUCTA {
HTREEITEM hParent;
HTREEITEM hInsertAfter;
union
{
TVITEMEXA itemex;
TVITEMA item;
} ;
} TVINSERTSTRUCTA,*LPTVINSERTSTRUCTA;
typedef struct tagTVINSERTSTRUCTW {
HTREEITEM hParent;
HTREEITEM hInsertAfter;
union {
TVITEMEXW itemex;
TVITEMW item;
} ;
} TVINSERTSTRUCTW,*LPTVINSERTSTRUCTW;
#define TVINSERTSTRUCT TVINSERTSTRUCTW
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2001-02-11 15:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-11 15:59 Ren Hoek [this message]
2001-02-12 5:35 ` Earnie Boyd
2001-02-12 8:02 Ren
2001-02-12 8:16 ` Christopher Faylor
2001-02-12 8:17 ` Charles S. Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010211235908.CB6467C17@hirogen.kabelfoon.nl \
--to=ren@arak.cs.hro.nl \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).