FindPresentationAbstract Example for C++ 6.0 and later
{
int nID;
long hPDU;
//get the associate object for this client computer's connection
hPDU = m_pLEADDicomNet->GetAssociate(m_pLEADDicomNet->GethNet());
//find the id for UID_VERIFICATION_CLASS within this association
//if it is supported by the association
nID = m_pLEADDicomNet->FindPresentationAbstract(hPDU, UID_VERIFICATION_CLASS);
if (nID == 0)
AfxMessageBox("Not Supported by this association!");
else
{
CString strMsg;
strMsg.Format("Found[%d]", nID);
AfxMessageBox(strMsg);
}
}