w32engin

new topic     » topic index » view thread      » older message » newer message

I am trying to define the structure "LV_COLUMN" with w32engin, but can't 
use the c type "LPTSTR".  From the win32 docs the structure is defined:

typedef struct _LV_COLUMN { 
    UINT mask; 
    int fmt; 
    int cx; 
    LPTSTR pszText; 
    int cchTextMax; 
    int iSubItem; 
} LV_COLUMN; 

I defined it as:
StList &= { {0,"LV_COLUMN",
    "mask        : UINT   : 4 "& 
    "fmt         : int    : 4 "&
    "cx          : int    : 4 "&
    "pszText     : LPTSTR : 4 "&
    "cchTextMax  : int    : 4 "&
    "iSubItem    : int    : 4 "} }

but i get the message that LPTSTR is an invalid C type.  how do i make 
it work?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu