InitCS Example for C++ 6.0 and later
CString strMsg;
//create a data set as a command set
m_pLEADDicomDS->InitCS (COMMAND_C_STORE, TRUE);
//gets information about the command set
m_pLEADDicomDS->GetInfoCS ();
strMsg.Format("Command: %d\nRequest: %d", m_pLEADDicomDS->GetInfoCommand (), m_pLEADDicomDS->GetInfoRequest () );
AfxMessageBox(strMsg);