| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/ |
Upload File : |
/********************************************************
* *
* Copyright (C) Microsoft. All rights reserved. *
* *
********************************************************/
//-----------------------------------------------------------------------------
// File: tbdefcnt.idl
//
// Contents: OLE DB interface definition
//
// Comments:
//
//-----------------------------------------------------------------------------
cpp_quote("#include <winapifamily.h>")
#pragma region Desktop Family
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
#include "idlmulti.h"
//
#if( OLEDBVER >= 0x0200 )
REMOTED_INTERFACE(0c733aab-2a1c-11ce-ade5-00aa0044773d)
#else
LOCAL_INTERFACE(0c733aab-2a1c-11ce-ade5-00aa0044773d)
#endif
interface ITableDefinitionWithConstraints : ITableCreation
{
HRESULT AddConstraint
(
[in] DBID * pTableID,
[in] DBCONSTRAINTDESC * pConstraintDesc
);
#ifdef _WIN64 //Use casting by ULONG in attribute size_is under 64-bit environment.
HRESULT CreateTableWithConstraints
(
[in] IUnknown * pUnkOuter,
[in] DBID * pTableID,
[in] DBORDINAL cColumnDescs,
[in, size_is((ULONG)cColumnDescs), out] DBCOLUMNDESC rgColumnDescs[],
[in] ULONG cConstraintDescs,
[in, size_is(cConstraintDescs)] DBCONSTRAINTDESC rgConstraintDescs[],
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, size_is(cPropertySets), out] DBPROPSET rgPropertySets[],
[out] DBID ** ppTableID,
[out] IUnknown ** ppRowset
);
#else //No casting by ULONG for 32-bit.
HRESULT CreateTableWithConstraints
(
[in] IUnknown * pUnkOuter,
[in] DBID * pTableID,
[in] DBORDINAL cColumnDescs,
[in, size_is(cColumnDescs), out] DBCOLUMNDESC rgColumnDescs[],
[in] ULONG cConstraintDescs,
[in, size_is(cConstraintDescs)] DBCONSTRAINTDESC rgConstraintDescs[],
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, size_is(cPropertySets), out] DBPROPSET rgPropertySets[],
[out] DBID ** ppTableID,
[out] IUnknown ** ppRowset
);
#endif
HRESULT DropConstraint
(
[in] DBID * pTableID,
[in] DBID * pConstraintID
);
}
cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */")
#pragma endregion