The shapefile type enumerations are used to determine the the type of a shape and also the type of shapes that can be inserted into the shapefile. The shapefile type of a shape determines how the points added to the shape are interpreted to draw the desired geometric object. Note: Multipatch shapefiles are not currently supported by MapWindow.
Values
Name  Value  Summary 

SHP_NULLSHAPE 

This specifies that there is no geometric data in the shape. Null shapes are often used as place holders when a shapefile is created, and are later populated with geometric data. 
SHP_POINT 

This specifies that the shapefile is a Point shapefile, and that only shapes of this type are contained in the shapefile. The points are stored as double precision values (x, y). 
SHP_POLYLINE 

This specifies that the shapefile is a Polyline shapefile, and that only shapes of this type are contained in the shapefile. The Polyline is defined by an ordered array of points of double precision values (x,y). These points are contained in one or more parts. 
SHP_POLYGON 

This specifies that the shapefile is a Polygon shapefile, and that only shapes of this type are contained in the shapefile. The Polygon is defined by an ordered array of points of double precision values (x,y). These points are contained in one or more parts. A polygon may have interior parts which are not filled. These parts contain points ordered in a counterclockwise direction. Parts that are to be filled are ordered in a clockwise direction. The outer part for the polygon must be ordered in a clockwise direction. 
SHP_MULTIPOINT 

This specifies that the shapefile is a MultiPoint shapefile, and that only shapes of this type are contained in the shapefile. The points are stored as double precision values (x, y) in an array. 
SHP_POINTZ 

This specifies that the shapefile is a PointZ shapefile, and that only shapes of this type are contained in the shapefile. The points are stored as double precision values (x, y, z) with an associated double precision Measure value (M). 
SHP_POLYLINEZ 

This specifies that the shapefile is a PolylineZ shapefile, and that only shapes of this type are contained in the shapefile. The Polyline is defined by an ordered array of points of double precision values (x,y,z) with an associated Measure value (M) for each point. These points are contained in one or more parts. 
SHP_POLYGONZ 

This specifies that the shapefile is a PolygonZ shapefile, and that only shapes of this type are contained in the shapefile. The Polygon is defined by an ordered array of points of double precision values (x,y,z) with an associated Measure value (M) for each point. These points are contained in one or more parts. A polygon may have interior parts which are not filled. These parts contain points ordered in a counterclockwise direction. Parts that are to be filled are ordered in a clockwise direction. The outer part for the polygon must be ordered in a clockwise direction. 
SHP_MULTIPOINTZ 

This specifies that the shapefile is a MultipointZ shapefile, and that only shapes of this type are contained in the shapefile. The points are stored as double precision values (x, y, z) in an array with an associated Measure value (M) for each point. 
SHP_POINTM 

This specifies that the shapefile is a PointM shapefile, and that only shapes of this type are contained in the shapefile. The points are stored as double precision values (x, y) with an associated Measure value (M). 
SHP_POLYLINEM 

This specifies that the shapefile is a PolylineM shapefile, and that only shapes of this type are contained in the shapefile. The Polyline is defined by an ordered array of points of double precision values (x,y) with an associated Measure value (M) for each point. These points are contained in one or more parts. 
SHP_POLYGONM 

This specifies that the shapefile is a PolygonM shapefile, and that only shapes of this type are contained in the shapefile. The Polygon is defined by an ordered array of points of double precision values (x,y) with an associated Measure value (M) for each point. These points are contained in one or more parts. A polygon may have interior parts which are not filled. These parts contain points ordered in a counterclockwise direction. Parts that are to be filled are ordered in a clockwise direction. The outer part for the polygon must be ordered in a clockwise direction. 
SHP_MULTIPOINTM 

This specifies that the shapefile is a MultipointM shapefile, and that only shapes of this type are contained in the shapefile. The points are stored as double precision values (x, y) in an array with an associated Measure value (M) for each point. 
SHP_MULTIPATCH 

This specifies that the shapefile is a Multipatch shapefile, and that only shapes of this type are contained in the shapefile. The Multipatch is defined by a group of parts. There is an ordered array of points which is divided into parts. Each part has a part type (Triangle Strip, Triangle Fan, Outer Ring, Inner Ring, First Ring, or Ring). The part type defines how the points in the specified part are interpreted to draw the desired geometric shape. Note: Multipatch shapefiles are not currently supported by MapWindow. 