次の方法で共有


IDirectDraw::RestoreDisplayMode (Compact 2013)

3/26/2014

This method resets the mode of the display device hardware for the primary surface to what it was before the IDirectDraw::SetDisplayMode method was called. Exclusive-level access is required to use this method.

Syntax

HRESULT RestoreDisplayMode();

Parameters

None.

Return Value

The return value is DD_OK.

Remarks

As this functionality is not needed on Windows Embedded Compact, this function does nothing except return DD_OK.

Requirements

Header

ddraw.h

Library

ddraw.lib

See Also

Reference

IDirectDraw
DirectDraw Reference
DirectDraw Interfaces
IDirectDraw::SetDisplayMode
IDirectDraw::EnumDisplayModes
IDirectDraw::SetCooperativeLevel

Other Resources

DirectDraw