ICM_GETDEFAULTKEYFRAMERATE

wParam = (DWORD) (LPVOID) &dwICValue;
lParam = 0;
 

Queries a video compression driver for its default (or preferred) key-frame spacing.

wParam
Address of a doubleword to return the preferred key-frame spacing.