Lines Matching refs:pInst
81 DdeInstData* pInst = ImpGetInstData(); in SV_IMPL_VARARR() local
82 DBG_ASSERT(pInst,"SVDDE:No instance data"); in SV_IMPL_VARARR()
93 DdeQueryString( pInst->hDdeInstSvr, hText1, chTopicBuf, in SV_IMPL_VARARR()
165 DdeString aDStr( pInst->hDdeInstSvr, s ); in SV_IMPL_VARARR()
183 pInst->hDdeInstSvr, (LPBYTE) pPairs, in SV_IMPL_VARARR()
256 pInst->hCurConvSvr = hConv; in SV_IMPL_VARARR()
290 return DdeCreateDataHandle( pInst->hDdeInstSvr, in SV_IMPL_VARARR()
312 pInst->hCurConvSvr = NULL; in SV_IMPL_VARARR()
342 pInst->hCurConvSvr = NULL; in SV_IMPL_VARARR()
350 pInst->hCurConvSvr = NULL; in SV_IMPL_VARARR()
368 pInst->hCurConvSvr = NULL; in SV_IMPL_VARARR()
400 DdeInstData* pInst = ImpGetInstData(); in FindTopic() local
401 DBG_ASSERT(pInst,"SVDDE:No instance data"); in FindTopic()
416 DdeQueryString(pInst->hDdeInstSvr,hTopic,chBuf,sizeof(chBuf)/sizeof(TCHAR),CP_WINUNICODE ); in FindTopic()
430 DdeInstData* pInst = ImpGetInstData(); in FindItem() local
431 DBG_ASSERT(pInst,"SVDDE:No instance data"); in FindItem()
446 DdeQueryString(pInst->hDdeInstSvr,hItem,chBuf,sizeof(chBuf)/sizeof(TCHAR),CP_WINUNICODE ); in FindItem()
458 DdeInstData* pInst = ImpGetInstData(); in DdeService() local
459 if( !pInst ) in DdeService()
460 pInst = ImpInitInstData(); in DdeService()
461 pInst->nRefCount++; in DdeService()
462 pInst->nInstanceSvr++; in DdeService()
464 if ( !pInst->hDdeInstSvr ) in DdeService()
467 DdeInitialize( &pInst->hDdeInstSvr, in DdeService()
472 pInst->pServicesSvr = new DdeServices; in DdeService()
479 if ( pInst->pServicesSvr ) in DdeService()
480 pInst->pServicesSvr->Insert( this ); in DdeService()
482 pName = new DdeString( pInst->hDdeInstSvr, rService ); in DdeService()
484 if ( !DdeNameService( pInst->hDdeInstSvr, *pName, NULL, in DdeService()
502 DdeInstData* pInst = ImpGetInstData(); in ~DdeService() local
503 DBG_ASSERT(pInst,"SVDDE:No instance data"); in ~DdeService()
504 if ( pInst->pServicesSvr ) in ~DdeService()
505 pInst->pServicesSvr->Remove( this ); in ~DdeService()
516 pInst->nInstanceSvr--; in ~DdeService()
517 pInst->nRefCount--; in ~DdeService()
518 if ( !pInst->nInstanceSvr && pInst->hDdeInstSvr ) in ~DdeService()
520 if( DdeUninitialize( pInst->hDdeInstSvr ) ) in ~DdeService()
522 pInst->hDdeInstSvr = NULL; in ~DdeService()
523 delete pInst->pServicesSvr; in ~DdeService()
524 pInst->pServicesSvr = NULL; in ~DdeService()
525 if( pInst->nRefCount == 0) in ~DdeService()
543 DdeInstData* pInst = ImpGetInstData(); in GetServices() local
544 DBG_ASSERT(pInst,"SVDDE:No instance data"); in GetServices()
545 return *(pInst->pServicesSvr); in GetServices()
616 DdeInstData* pInst = ImpGetInstData(); in DdeTopic() local
617 DBG_ASSERT(pInst,"SVDDE:No instance data"); in DdeTopic()
618 pName = new DdeString( pInst->hDdeInstSvr, rName ); in DdeTopic()
701 DdeInstData* pInst = ImpGetInstData(); in NotifyClient() local
702 DBG_ASSERT(pInst,"SVDDE:No instance data"); in NotifyClient()
708 DdePostAdvise( pInst->hDdeInstSvr, *pName, *pItem->pName ); in NotifyClient()
772 DdeInstData* pInst = ImpGetInstData(); in GetConvId() local
773 DBG_ASSERT(pInst,"SVDDE:No instance data"); in GetConvId()
774 return (sal_uIntPtr)pInst->hCurConvSvr; in GetConvId()
795 DdeInstData* pInst = ImpGetInstData(); in DdeItem() local
796 DBG_ASSERT(pInst,"SVDDE:No instance data"); in DdeItem()
797 pName = new DdeString( pInst->hDdeInstSvr, p ); in DdeItem()
807 DdeInstData* pInst = ImpGetInstData(); in DdeItem() local
808 DBG_ASSERT(pInst,"SVDDE:No instance data"); in DdeItem()
809 pName = new DdeString( pInst->hDdeInstSvr, r ); in DdeItem()
819 DdeInstData* pInst = ImpGetInstData(); in DdeItem() local
820 DBG_ASSERT(pInst,"SVDDE:No instance data"); in DdeItem()
821 pName = new DdeString( pInst->hDdeInstSvr, *r.pName ); in DdeItem()
850 DdeInstData* pInst = ImpGetInstData(); in NotifyClient() local
851 DBG_ASSERT(pInst,"SVDDE:No instance data"); in NotifyClient()
852 DdePostAdvise( pInst->hDdeInstSvr, *pMyTopic->pName, *pName ); in NotifyClient()