IDirectDrawSurface2::Initialize
HRESULT Initialize(LPDIRECTDRAW lpDD,
LPDDSURFACEDESC lpDDSurfaceDesc);
Initializes a DirectDrawSurface object.
·Returns DDERR_ALREADYINITIALIZED.
lpDD
Address of the DirectDraw structure that represents the DirectDraw object.
lpDDSurfaceDesc
Address of a DDSURFACEDESC structure that will be filled with the relevant details about the surface.
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.