userlibandfileserver/fileserver/sfile/sf_plugin_shim.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
   701 	args.iFlags = aArgs.iFlags&((1<<(3*TIpcArgs::KBitsPerType))-1);
   701 	args.iFlags = aArgs.iFlags&((1<<(3*TIpcArgs::KBitsPerType))-1);
   702 
   702 
   703 	TPckgBuf<TInt> reply;
   703 	TPckgBuf<TInt> reply;
   704 	args.Set(3,&reply);
   704 	args.Set(3,&reply);
   705 
   705 
       
   706 	// copy session pointer
       
   707 	RLocalMessage message = iMessage;
       
   708 	message.SetFunction(aFunction);
       
   709 	message.SetArgs(args);
       
   710 
   706 	TInt err = Dispatch(aFunction, args);
   711 	TInt err = Dispatch(aFunction, args);
   707 	if (err == KErrNone)
   712 	if (err == KErrNone)
   708 		*aReply = reply();
   713 		*aReply = reply();
   709 
   714 
   710 	return err;
   715 	return err;