1. structures with w32engin

I am trying to define the LV_COLUMN structure with w32engin, but there 
is no type "LPTSTR".  how do i define the structure?

--from win32 programmer's docs
typedef struct _LV_COLUMN { 
    UINT mask; 
    int fmt; 
    int cx; 
    LPTSTR pszText; 
    int cchTextMax; 
    int iSubItem; 
} LV_COLUMN; 

i tried doing the following:

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

but am told that:
"invalid 'C' type: LPTSTR"

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu