pceguid
[in] Pointer to the CEGUID that contains the globally unique identifierof a mounted database volume, or of the object store. Use CREATE_SYSTEMGUIDto obtain the GUID of the object store. If pceguid points to a CEGUID created with the CREATE_INVALIDGUID macro, then poid is ignored and the object store and all mounted database volumes are searched for a database whose name matches lpszName. The search is completed when the first match is located.
poid
[in] Pointer to the object identifier of the database to be opened. To open a database by name, set the value pointed to by poid to 0, set lpszName to the database name, and set pceguid to the database volume.
lpszName
[in] Long pointer to the null-terminated string that contains the name of the database to be opened. This is used along with pceguid to specify the database if the value pointed to by poid is zero. If the value pointed to by poid is nonzero, lpszName is ignored.
propid
[in] Property identifier of the sort key for the database. All subsequent calls to CeSeekDatabase (CEDB) assume this sort order. This parameter can be 0 if the sort order is not important. In that case, a sort order will be chosen for you.
dwFlags
[in] Bitmask of action flags. The following table shows the possible values for this parameter