DirectX SDK |
The DirectDrawSurface7.GetUniquenessValue method retrieves the current uniqueness value for this surface.
object.GetUniquenessValue() As Long
If the method succeeds, it returns the current uniqueness value of the surface.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
The only defined uniqueness value is 0, to indicate that the surface is likely to be changing beyond the control of DirectDraw. Other uniqueness values are only significant if they differ from a previously cached uniqueness value. If the current value is different than a cached value, the contents of the surface have changed.