Microsoft DirectX 2



IDirectDrawSurface:: GetDC


HRESULT GetDC (HDC FAR * lphDC);

gdi- hDC .

DD_OK , :

DDERR_DCALREADYCREATED DDERR_GENERIC

DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS

DDERR_INVALIDSURFACETYPE DDERR_SURFACELOST

DDERR_UNSUPPORTED DDERR_WASSTILLDRAWING

lphDC

hDC.

IDirectDrawSurface::Lock, , , IDirectDrawSurface:: ReleaseDC. , . IDirectDrawSurface:Lock.