Lines Matching refs:inoutVal

278 STDMETHODIMP CCallback::inoutStruct(IDispatch **inoutVal)  in inoutStruct()  argument
280 if( !inoutVal) in inoutStruct()
285 CComDispatchDriver disp( *inoutVal); in inoutStruct()
290 (*inoutVal)->Release(); in inoutStruct()
298 *inoutVal= dispStruct; in inoutStruct()
299 (*inoutVal)->AddRef(); in inoutStruct()
303 STDMETHODIMP CCallback::inoutEnum(long *inoutVal) in inoutEnum() argument
305 if( !inoutVal) in inoutEnum()
307 *inoutVal= *inoutVal+1; in inoutEnum()
337 STDMETHODIMP CCallback::inoutAny(VARIANT *inoutVal) in inoutAny() argument
339 if( !inoutVal) in inoutAny()
342 if( inoutVal->vt= VT_BSTR) in inoutAny()
343 MessageBox( NULL, W2T( inoutVal->bstrVal), _T("XCallback_Impl.Callback"), MB_OK); in inoutAny()
345 VariantClear( inoutVal); in inoutAny()
346 inoutVal->vt= VT_BSTR; in inoutAny()
347 inoutVal->bstrVal=SysAllocString( L" [string] XCallback_Impl.Callback inoutAny"); in inoutAny()
351 STDMETHODIMP CCallback::inoutBool(VARIANT_BOOL *inoutVal) in inoutBool() argument
353 if( !inoutVal) in inoutBool()
356 *inoutVal= *inoutVal == VARIANT_TRUE ? VARIANT_FALSE : VARIANT_TRUE; in inoutBool()
360 STDMETHODIMP CCallback::inoutChar(short *inoutVal) in inoutChar() argument
362 if( !inoutVal) in inoutChar()
366 sprintf( buff, "character value: %C", *inoutVal); in inoutChar()
368 *inoutVal= L'B'; in inoutChar()
372 STDMETHODIMP CCallback::inoutString(BSTR *inoutVal) in inoutString() argument
374 if( !inoutVal) in inoutString()
377 MessageBox( NULL, W2T(*inoutVal), _T("XCallback_Impl.Callback"), MB_OK); in inoutString()
378 SysFreeString(*inoutVal); in inoutString()
379 *inoutVal= SysAllocString(L"a string from XCallback_Impl.Callback"); in inoutString()
384 STDMETHODIMP CCallback::inoutFloat(float *inoutVal) in inoutFloat() argument
386 if( !inoutVal) in inoutFloat()
388 *inoutVal = *inoutVal+1; in inoutFloat()
392 STDMETHODIMP CCallback::inoutDouble(double *inoutVal) in inoutDouble() argument
394 if( !inoutVal) in inoutDouble()
396 *inoutVal= *inoutVal+1; in inoutDouble()
400 STDMETHODIMP CCallback::inoutByte(unsigned char *inoutVal) in inoutByte() argument
402 if( !inoutVal) in inoutByte()
404 *inoutVal= 0xff; in inoutByte()
408 STDMETHODIMP CCallback::inoutShort(short *inoutVal) in inoutShort() argument
410 if( !inoutVal) in inoutShort()
412 *inoutVal= -1; in inoutShort()
416 STDMETHODIMP CCallback::inoutLong(long* inoutVal) in inoutLong() argument
418 if( !inoutVal) in inoutLong()
420 *inoutVal= 0xffffffff; in inoutLong()