|
|
|
IDXSurface Interface |
|
CLSID_DXSurface |
{0E890F83-5F79-11D1-9043-00C04FD9189D} |
|
IID_IDXSurface |
{B39FD73F-E139-11D1-9065-00C04FD9189D} |
|
The IDXSurface interface is used to access DXSurface objects, which store images.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IDXBaseObject Members |
Description |
|
GetGenerationId |
Retrieves the current generation ID for the object. |
|
IncrementGenerationId |
Manually increments the object generation ID. |
|
GetObjectSize |
Retrieves the size, in bytes, of the data object (for example, a surface or buffer). |
|
IDXSurface Members |
Description |
|
GetPixelFormat |
Retrieves the pixel format of the surface. |
|
GetBounds |
Retrieves a structure that contains the surface's boundary region. |
|
GetStatusFlags |
Retrieves the status flags of the DXSurface object. |
|
SetStatusFlags |
Sets the status flags of the DXSurface object. |
|
LockSurface |
Locks a region of the surface and returns a pointer through which you can access samples on DXSurfaces. |
|
GetDirectDrawSurface |
Retrieves an interface on the underlying IDXSurface::GetDirectDrawSurface object if the DXSurface object is aggregated onto a IDXSurface::GetDirectDrawSurface. |
|
GetColorKey |
Retrieves the surface's color key value. |
|
SetColorKey |
Sets the surface's color_key value. |
|
LockSurfaceDC |
Locks a region of the surface and returns an IDXDCLock interface. |
|
SetAppData |
Sets the surface's application-specified DWORD of data. |
|
GetAppData |
Retrieves an application-specific DWORD of data. |
|
GetPixelFormat |
|
FUNCTION
IDXSurface_GetPixelFormat
( _ , BYREF pFormatID AS GUID _ , BYREF pSampleFormatEnum AS LONG _ ) AS
LONG |
|
GetBounds |
|
FUNCTION
IDXSurface_GetBounds (
_ , BYREF pBounds AS DXBNDS _ ) AS
LONG |
|
GetStatusFlags |
|
FUNCTION
IDXSurface_GetStatusFlags
( _ , BYREF pdwStatusFlags AS DWORD _ ) AS
LONG
LOCAL HRESULT
AS LONG |
|
SetStatusFlags |
|
FUNCTION
IDXSurface_SetStatusFlags
( _ , BYVAL dwStatusFlags AS DWORD _ ) AS
LONG |
|
LockSurface |
|
FUNCTION
IDXSurface_LockSurface
( _ , BYREF pBounds AS DXBNDS _ , BYVAL ulTimeOut AS DWORD _ , BYVAL dwFlags AS DWORD _ , BYREF riid AS GUID _ , BYREF ppPointer AS DWORD _ , BYREF pulGenerationId AS DWORD _ ) AS
LONG |
|
GetDirectDrawSurface |
|
FUNCTION
IDXSurface_GetDirectDrawSurface
( _ , BYREF riid AS GUID _ , BYREF ppSurface AS DWORD _ ) AS
LONG |
|
GetColorKey |
|
FUNCTION
IDXSurface_GetColorKey
( _ , BYREF pColorKey AS DXSAMPLE _ ) AS LONG
|
|
SetColorKey |
|
FUNCTION
IDXSurface_SetColorKey
( _ , BYVAL ColorKey AS DXSAMPLE _ ) AS LONG
|
|
LockSurfaceDC |
|
FUNCTION
IDXSurface_LockSurfaceDC
( _ , BYREF pBounds AS DXBNDS _ , BYVAL ulTimeOut AS DWORD _ , BYVAL dwFlags AS DWORD _ , BYREF ppDCLock AS DWORD _ ) AS
LONG |
|
SetAppData |
|
FUNCTION
IDXSurface_SetAppData
( _ , BYVAL dwAppData AS DWORD _ ) AS
LONG |
|
GetAppData |
|
FUNCTION
IDXSurface_GetAppData
( _ , BYVAL pdwAppData AS DWORD _ ) AS
LONG |
Page last updated on Monday, 03 April 2006 19:48:26 +0200