' ########################################################################################
' Microsoft Windows
' File: persist.inc
' Contents: MSPersist external constants GUIDS and other things users need
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_persist_PBI)
#DEFINE PBX_persist_PBI
%EQUATE `PERSIST_INC = 1
'// Persist Properties
%EQUATE `DBPROPFLAGS_PERSIST = &H2000
%EQUATE `DBPROPVAL_PERSIST_ADTG = 0
%EQUATE `DBPROPVAL_PERSIST_XML = 1
%EQUATE `DBPROP_PersistFormat = 2
%EQUATE `DBPROP_PersistSchema = 3
%EQUATE `DBPROP_HCHAPTER = 4
%EQUATE `DBPROP_MAINTAINPROPS = 5
'// XML writing only properties
%EQUATE `DBPROP_Unicode = 6
'// internal property (read-only)
%EQUATE `DBPROP_INTERLEAVEDROWS = 8
$CLSID_MSPersist = GUID$("{7C07E0D0-4418-11D2-921200C04FBBBFB3}")
$DBPROPSET_PERSIST = GUID$("{4D7839A0-5B8E-11D1-A6B3-00A0C9138C66}")
$MS_PERSIST_PROGID = "MSPersist"
$PROGID_MSPersist = "MSPersist"
$PROGID_MSPersist_Version = "MSPersist.1"
$$PROGID_MSPersist_W = "MSPersist"$$
$$PROGID_MSPersist_Version_W = "MSPersist.1"$$
#ENDIF
