Share via


CREATE_INVALIDGUID (Compact 2013)

3/26/2014

This macro creates a CEGUID for a CEDB database that does not identify any database volume.

Syntax

#define CREATE_INVALIDGUID(pguid) (memset((pguid), -1, sizeof(CEGUID)))

Parameters

  • pguid
    [out] Pointer to a CEGUID that receives an identifier that specifies an invalid database volume CEGUID.

Return Value

None.

Remarks

The CEGUID created by this macro is required by the CeEnumDBVolumes (CEDB) function to start enumeration of currently mounted database volumes.

Requirements

Header

windbase.h

See Also

Reference

Database Macros
CeEnumDBVolumes (CEDB)
CeMountDBVol (CEDB)
CHECK_INVALIDGUID