/******************************************************** * * * Copyright (C) Microsoft. All rights reserved. * * * ********************************************************/ //----------------------------------------------------------------------------- // File: rstkys.idl // // Contents: OLE DB interface definition // // Comments: // //----------------------------------------------------------------------------- cpp_quote("#include ") #pragma region Desktop Family cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") #include "idlmulti.h" // #if( OLEDBVER >= 0x0200 ) REMOTED_INTERFACE(0c733a12-2a1c-11ce-ade5-00aa0044773d) #else LOCAL_INTERFACE(0c733a12-2a1c-11ce-ade5-00aa0044773d) #endif interface IRowsetKeys : IUnknown { #ifdef _WIN64 //Use casting by ULONG in attribute size_is under 64-bit environment. HRESULT ListKeys( [in, out] DBORDINAL * pcColumns, [out, size_is(,(ULONG)*pcColumns)] DBORDINAL ** prgColumns ); #else //No casting by ULONG for 32-bit. HRESULT ListKeys( [in, out] DBORDINAL * pcColumns, [out, size_is(,*pcColumns)] DBORDINAL ** prgColumns ); #endif } cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") #pragma endregion