Lines Matching refs:hr
64 HRESULT hr; in PromptNew() local
73 hr = CoCreateInstance( in PromptNew()
80 if( FAILED( hr ) ) in PromptNew()
88 if( FAILED( hr ) ) in PromptNew()
96 hr = dlPrompt->PromptNew((IDispatch **)&piTmpConnection); in PromptNew()
98 if( FAILED( hr ) || !piTmpConnection ) in PromptNew()
104 hr = piTmpConnection->get_ConnectionString(&_result); in PromptNew()
105 if( FAILED( hr ) ) in PromptNew()
120 HRESULT hr; in PromptEdit() local
128 hr = CoCreateInstance(CLSID_CADOConnection, in PromptEdit()
133 if( FAILED( hr ) ) in PromptEdit()
140 hr = piTmpConnection->put_ConnectionString(connstr); in PromptEdit()
141 if( FAILED( hr ) ) in PromptEdit()
148 hr = CoCreateInstance( in PromptEdit()
155 if( FAILED( hr ) ) in PromptEdit()
163 if( FAILED( hr ) ) in PromptEdit()
173 hr = dlPrompt->PromptEdit((IDispatch **)&piTmpConnection,&pbSuccess); in PromptEdit()
174 … if( SUCCEEDED( hr ) && sal_False == pbSuccess ) //if user press cancel then sal_False == pbSuccess in PromptEdit()
181 if( FAILED( hr ) ) in PromptEdit()
186 hr = dlPrompt->PromptNew((IDispatch **)&piTmpConnection); in PromptEdit()
187 if( FAILED( hr ) || !piTmpConnection ) in PromptEdit()
194 hr = piTmpConnection->get_ConnectionString(&_result); in PromptEdit()
195 if( FAILED( hr ) ) in PromptEdit()