Bitmap::Bitmap(IDirectDrawSurface7*) method (gdiplusheaders.h)
Creates a Bitmap::Bitmap object based on a DirectDraw surface. The Bitmap::Bitmap object maintains a reference to the DirectDraw surface until the Bitmap::Bitmap object is deleted or goes out of scope.
Syntax
void Bitmap(
[in] IDirectDrawSurface7 *surface
);
Parameters
[in] surface
Type: IDirectDrawSurface7*
Pointer to an IDrectDrawSurface7 COM interface.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | gdiplusheaders.h (include Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |
See also
Bitmap::FromDirectDrawSurface7