DirectX SDK |
The DirectDrawSurface7.ChangeUniquenessValue method manually updates the uniqueness value for this surface.
object.ChangeUniquenessValue()
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 |
DirectDraw automatically updates uniqueness values whenever the contents of a surface change.