Get a pan and saute the onion in the oil.
Put the mushrooms, garlic, pepper, and salt in also and cook on low for 15 minutes.
Mix in the flour and wine. Let the sauce cook for about 10 minutes while stirring sparingly.
Best to cook the sauce into the chicken or meat that you plan to serve with it.