IDirectDrawSurface5::Initialize (Windows CE 5.0)
This method initializes a DirectDrawSurface object.
HRESULT Initialize(LPDIRECTDRAW lpDD, LPDDSURFACEDESC2 lpDDSurfaceDesc);
Parameters
- lpDD
Address of the DirectDraw structure that represents the DirectDraw object. - lpDDSurfaceDesc
Address of a DDSURFACEDESC2 structure that will be filled with the relevant details about the surface.
Return Values
The method returns DDERR_ALREADYINITIALIZED.
Remarks
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.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h.
Link Library: Ddraw.lib.
See Also
IUnknown::AddRef | IUnknown::QueryInterface | IUnknown::Release
Send Feedback on this topic to the authors