Zend certified PHP/Magento developer

Magento 1.7 : How to use sales_order_payment_capture event?

In Magento 1.7, I want to do like after credit memo create product quantity should be deduct.

How to do that?

Any help would be appreciated.

Thanks.