ReactOS 0.4.15-dev-7961-gdcf9eb0
commctrl.h File Reference
#include <psdk/commctrl.h>
Include dependency graph for commctrl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NMTBINITCUSTOMIZE
 
struct  NMTBWRAPHOTITEM
 

Macros

#define DPA_GetPtr   DPA_GetPtr_wine_hack
 
#define FlatSB_SetScrollProp   FlatSB_SetScrollProp_wine_hack
 
#define DRAGLISTMSGSTRINGA   "commctrl_DragListMsg"
 
#define ListView_InsertItemA(hwnd, pitem)    (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))
 
#define ListView_InsertItemW(hwnd, pitem)    (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))
 
#define SNDMSGA   SendMessageA
 
#define SNDMSGW   SendMessageW
 
#define FLATSB_CLASSA   "flatsb_class32"
 
#define SB_SETBORDERS   (WM_USER+5)
 
#define LPNMLVDISPINFO   WINELIB_NAME_AW(LPNMLVDISPINFO)
 
#define TB_UNKWN45D   (WM_USER+93)
 
#define TB_UNKWN464   (WM_USER+100)
 
#define TreeView_GetItemA(hwnd, pitem)    (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem))
 
#define TreeView_InsertItemA(hwnd, phdi)
 
#define TreeView_SetItemA(hwnd, pitem)    (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))
 

Typedefs

typedef TBSAVEPARAMSWLPTBSAVEPARAMSW
 
typedef LVFINDINFOALPLVFINDINFOA
 
typedef LVFINDINFOWLPLVFINDINFOW
 

Functions

LPVOID WINAPI DPA_GetPtr (HDPA, INT)
 
BOOL WINAPI FlatSB_SetScrollProp (HWND, UINT, INT, BOOL)
 

Variables

static const WCHAR DRAGLISTMSGSTRINGW []
 
static const WCHAR FLATSB_CLASSW []
 

Macro Definition Documentation

◆ DPA_GetPtr

#define DPA_GetPtr   DPA_GetPtr_wine_hack

Definition at line 5 of file commctrl.h.

◆ DRAGLISTMSGSTRINGA

#define DRAGLISTMSGSTRINGA   "commctrl_DragListMsg"

Definition at line 20 of file commctrl.h.

◆ FLATSB_CLASSA

#define FLATSB_CLASSA   "flatsb_class32"

Definition at line 44 of file commctrl.h.

◆ FlatSB_SetScrollProp

#define FlatSB_SetScrollProp   FlatSB_SetScrollProp_wine_hack

Definition at line 6 of file commctrl.h.

◆ ListView_InsertItemA

#define ListView_InsertItemA (   hwnd,
  pitem 
)     (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))

Definition at line 31 of file commctrl.h.

◆ ListView_InsertItemW

#define ListView_InsertItemW (   hwnd,
  pitem 
)     (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))

Definition at line 33 of file commctrl.h.

◆ LPNMLVDISPINFO

#define LPNMLVDISPINFO   WINELIB_NAME_AW(LPNMLVDISPINFO)

Definition at line 77 of file commctrl.h.

◆ SB_SETBORDERS

#define SB_SETBORDERS   (WM_USER+5)

Definition at line 60 of file commctrl.h.

◆ SNDMSGA

#define SNDMSGA   SendMessageA

Definition at line 40 of file commctrl.h.

◆ SNDMSGW

#define SNDMSGW   SendMessageW

Definition at line 41 of file commctrl.h.

◆ TB_UNKWN45D

#define TB_UNKWN45D   (WM_USER+93)

Definition at line 80 of file commctrl.h.

◆ TB_UNKWN464

#define TB_UNKWN464   (WM_USER+100)

Definition at line 81 of file commctrl.h.

◆ TreeView_GetItemA

#define TreeView_GetItemA (   hwnd,
  pitem 
)     (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem))

Definition at line 83 of file commctrl.h.

◆ TreeView_InsertItemA

#define TreeView_InsertItemA (   hwnd,
  phdi 
)
Value:
struct _TREEITEM * HTREEITEM
Definition: commctrl.h:3264
#define TVM_INSERTITEMA
Definition: commctrl.h:3407
#define SNDMSGA
Definition: commctrl.h:40
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208

Definition at line 86 of file commctrl.h.

◆ TreeView_SetItemA

#define TreeView_SetItemA (   hwnd,
  pitem 
)     (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))

Definition at line 90 of file commctrl.h.

Typedef Documentation

◆ LPLVFINDINFOA

Definition at line 57 of file commctrl.h.

◆ LPLVFINDINFOW

Definition at line 58 of file commctrl.h.

◆ LPTBSAVEPARAMSW

Definition at line 55 of file commctrl.h.

Function Documentation

◆ DPA_GetPtr()

LPVOID WINAPI DPA_GetPtr ( HDPA  hdpa,
INT  nIndex 
)

Definition at line 527 of file dpa.c.

528{
529 TRACE("(%p %d)\n", hdpa, nIndex);
530
531 if (!hdpa)
532 return NULL;
533 if (!hdpa->ptrs) {
534 WARN("no pointer array.\n");
535 return NULL;
536 }
537 if ((nIndex < 0) || (nIndex >= hdpa->nItemCount)) {
538 WARN("not enough pointers in array (%d vs %d).\n",nIndex,hdpa->nItemCount);
539 return NULL;
540 }
541
542 TRACE("-- %p\n", hdpa->ptrs[nIndex]);
543
544 return hdpa->ptrs[nIndex];
545}
#define WARN(fmt,...)
Definition: debug.h:112
#define NULL
Definition: types.h:112
#define TRACE(s)
Definition: solgame.cpp:4
LPVOID * ptrs
Definition: dpa.c:51
INT nItemCount
Definition: dpa.c:50

◆ FlatSB_SetScrollProp()

BOOL WINAPI FlatSB_SetScrollProp ( HWND  hwnd,
UINT  index,
INT  newValue,
BOOL  flag 
)

Definition at line 116 of file flatsb.c.

117{
118 TRACE("[%p] index=%u newValue=%d flag=%d\n", hwnd, index, newValue, flag);
119 return FALSE;
120}
#define FALSE
Definition: types.h:117
GLuint index
Definition: glext.h:6031
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52

Variable Documentation

◆ DRAGLISTMSGSTRINGW

const WCHAR DRAGLISTMSGSTRINGW[]
static
Initial value:
= { 'c','o','m','m','c','t','r','l',
'_','D','r','a','g','L','i','s','t','M','s','g',0 }

Definition at line 27 of file commctrl.h.

Referenced by MakeDragList().

◆ FLATSB_CLASSW

const WCHAR FLATSB_CLASSW[]
static
Initial value:
= { 'f','l','a','t','s','b','_',
'c','l','a','s','s','3','2',0 }

Definition at line 51 of file commctrl.h.

Referenced by FLATSB_Register(), and FLATSB_Unregister().