Clip shapefile by envelope
ClipShapefileByEnv.h
// Copyright 2011 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

  
#ifndef __CLIPSHAPEFILEBYENV_SAMPLE_H__
#define __CLIPSHAPEFILEBYENV_SAMPLE_H__

#include <iostream>
#include "LicenseUtilities.h"
#include "PathUtilities.h"
using namespace std;

// ArcEngine C++ API
#include <ArcSDK.h>

HRESULT ClipFile(char* input, char* output);

#endif   // __CLIPSHAPEFILEBYENV_SAMPLE_H__