IDirectDrawSurface5::GetUniquenessValue (Windows CE 5.0)

Send Feedback

This method retrieves the current uniqueness value for this surface.

HRESULT GetUniquenessValue( LPDWORDlpValue); 

Parameters

  • lpValue
    Address of a variable that will be filled with the surface's current uniqueness value, if the call succeeds.

Return Values

If the method succeeds, the return value is DD_OK.

If the method fails, the return value may be one of the following error values:

DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS

Remarks

The only defined uniqueness value is zero, which indicates that the surface is likely to be changing beyond DirectDraw's control. 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.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h.
Link Library: Ddraw.lib.

See Also

IDirectDrawSurface5::ChangeUniquenessValue

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.