DirectX SDK

DirectDrawSurface7.ChangeUniquenessValue

The DirectDrawSurface7.ChangeUniquenessValue method manually updates the uniqueness value for this surface.

object.ChangeUniquenessValue()

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DDERR_EXCEPTION
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS

Remarks

DirectDraw automatically updates uniqueness values whenever the contents of a surface change.

See Also

DirectDrawSurface7.GetUniquenessValue