IISmpCommands::NoOfCommands

Salesmate +

Retrieve the Number of Commands

Example code

CComPtr<IISmpCommands>m_IISMPCommands;
HRESULT hr;
CString strFunName;

hr=m_IISMPCommands.CoCreateInstance(CLSID_ISmpCommands);
if(FAILED(hr))
{
	AfxMessageBox(_T("IISmpCommandsInterface initialisation failed"));
	return FALSE;
}

m_IISMPCommands->get_NoOfCommands(m_lSessionID,strFunName.AllocSysString(),&lNoOfCmds);

(C) 1999-2001 My Company All rights reserved