COMPSTATEINFO structure (shlobj_core.h)

Used by Windows 2000 to hold information about a component's state.

Syntax

typedef struct _tagCOMPSTATEINFO {
  DWORD dwSize;
  int   iLeft;
  int   iTop;
  DWORD dwWidth;
  DWORD dwHeight;
  DWORD dwItemState;
} COMPSTATEINFO;

Members

dwSize

Type: DWORD

The size of the structure.

iLeft

Type: int

The left edge of the top-left corner in screen coordinates.

iTop

Type: int

The top of the top-left corner in screen coordinates.

dwWidth

Type: DWORD

The width, in pixels.

dwHeight

Type: DWORD

The height, in pixels.

dwItemState

Type: DWORD

The state of the component.

IS_NORMAL

Normal screen.

IS_FULLSCREEN

Full screen.

IS_SPLIT

Split screen.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header shlobj_core.h (include Shlobj.h)