The IDirectDrawSurface4::Initialize method initializes a DirectDrawSurface object.
HRESULT Initialize(
LPDIRECTDRAW lpDD,
LPDDSURFACEDESC2 lpDDSurfaceDesc
);
The method returns DDERR_ALREADYINITIALIZED.
This method is provided for compliance with the Component Object Model (COM) protocol. Because the DirectDrawSurface object is initialized when it is created, this method always returns DDERR_ALREADYINITIALIZED.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in ddraw.h.
Import Library: Use ddraw.lib.
IUnknown::AddRef, IUnknown::QueryInterface, IUnknown::Release