Returns the pointer to the currently displayed surface.

Prototype declaration:


KMSTATUS KMAPI
kmGetCurrentDisplaySurface(
		OUT	PKMSURFACEDESC pDesc
);

Description:

This function returns the pointer to the currently displayed surface.
Parameters:
pDesc(output)
        This parameter is a pointer to the currently displayed surface.

Return values:
Value Explanation
KMSTATUS_SUCCESS Success