How to find out DC's dimensions?

Let's say I have a handle to device context (naturally, in Windows environment): HDC hdc; How can I get the width and height of it?