InetSendSetRectCmd Example for C++ 5.0 and later
short nRet;
CString csOut;
nRet = m_pRasterInet->InetSendSetRectCmd(999,
1, DISPLAY_RECT_DST, 0, 0, 100, 100);
if((nRet != 0) && (nRet != ERROR_DATA_QUEUED))
{
csOut.Format(TEXT("ERROR %d calling InetSendSetRectCmd."),
nRet);
AfxMessageBox(csOut);
}
else
AfxMessageBox(TEXT("InetSendSetRectCmd executed."));