207 references to UnsafeNativeMethods
System.Data.OleDb (207)
DbBindings.cs (1)
361
internal OleDbHResult CreateAccessor(
UnsafeNativeMethods
.IAccessor iaccessor, int flags)
DbPropSet.cs (6)
45
internal DBPropSet(
UnsafeNativeMethods
.IDBProperties properties, PropertyIDSet? propidset, out OleDbHResult hr) : this()
63
internal DBPropSet(
UnsafeNativeMethods
.IRowsetInfo properties, PropertyIDSet? propidset, out OleDbHResult hr) : this()
81
internal DBPropSet(
UnsafeNativeMethods
.ICommandProperties properties, PropertyIDSet? propidset, out OleDbHResult hr) : this()
104
OleDbHResult errorInfoHr =
UnsafeNativeMethods
.GetErrorInfo(0, out
UnsafeNativeMethods
.IErrorInfo? errorInfo); // 0 - IErrorInfo exists, 1 - no IErrorInfo
114
UnsafeNativeMethods
.ReleaseComWrappersObject(errorInfo);
Generated\361d1da7f942c932\System.Data.Common.UnsafeNativeMethods.IErrorInfo.cs (13)
31
file unsafe interface InterfaceImplementation : global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo
53
void global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo.GetGUID()
57
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo));
78
global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo @this = default;
84
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>(__this_native);
98
global::System.Data.OleDb.OleDbHResult global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo.GetSource(out string pBstrSource)
102
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo));
140
global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo @this = default;
147
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>(__this_native);
163
global::System.Data.OleDb.OleDbHResult global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo.GetDescription(out string pBstrDescription)
167
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo));
205
global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo @this = default;
212
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>(__this_native);
Generated\361d1da7f942c932\System.Data.Common.UnsafeNativeMethods.IErrorRecords.cs (36)
34
file unsafe interface InterfaceImplementation : global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords
59
void global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords.AddErrorRecord()
63
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords));
84
global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords @this = default;
90
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords>(__this_native);
104
void global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords.GetBasicErrorInfo()
108
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords));
129
global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords @this = default;
135
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords>(__this_native);
149
global::System.Data.OleDb.OleDbHResult global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords.GetCustomErrorObject(int ulRecordNum, in global::System.Guid riid, out global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo ppObject)
153
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords));
172
ppObject = global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo>.ConvertToManaged(__ppObject_native);
179
global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo>.Free(__ppObject_native);
193
global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords @this = default;
197
global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo ppObject = default;
203
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords>(__this_native);
206
__ppObject_native = (void*)global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo>.ConvertToUnmanaged(ppObject);
219
global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords.GetErrorInfo(int ulRecordNum, int lcid)
223
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords));
227
global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo __retVal = default;
242
__retVal = global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>.ConvertToManaged(__retVal_native);
249
global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>.Free(__retVal_native);
263
global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords @this = default;
265
global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo __invokeRetVal = default;
271
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords>(__this_native);
274
__invokeRetValUnmanaged = (void*)global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>.ConvertToUnmanaged(__invokeRetVal);
287
void global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords.GetErrorParameters()
291
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords));
312
global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords @this = default;
318
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords>(__this_native);
332
int global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords.GetRecordCount()
336
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords));
359
global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords @this = default;
367
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.IErrorRecords>(__this_native);
Generated\361d1da7f942c932\System.Data.Common.UnsafeNativeMethods.ISQLErrorInfo.cs (5)
29
file unsafe interface InterfaceImplementation : global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo
49
int global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo.GetSQLInfo(out string pbstrSQLState)
53
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo));
94
global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo @this = default;
104
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Data.Common.
UnsafeNativeMethods
.ISQLErrorInfo>(__this_native);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (3)
351
internal static unsafe partial global::System.Data.OleDb.OleDbHResult GetErrorInfo(int dwReserved, out global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo ppIErrorInfo)
367
ppIErrorInfo = global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>.ConvertToManaged(__ppIErrorInfo_native);
374
global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::System.Data.Common.
UnsafeNativeMethods
.IErrorInfo>.Free(__ppIErrorInfo_native);
OleDb_Util.cs (1)
337
internal static OleDbHResult GetErrorDescription(
UnsafeNativeMethods
.IErrorInfo errorInfo, OleDbHResult hresult, out string message)
OleDbCommand.cs (20)
32
private
UnsafeNativeMethods
.ICommandText? _icommandText;
355
private
UnsafeNativeMethods
.IAccessor IAccessor()
358
return (
UnsafeNativeMethods
.IAccessor)_icommandText;
362
internal
UnsafeNativeMethods
.ICommandProperties ICommandProperties()
365
return (
UnsafeNativeMethods
.ICommandProperties)_icommandText;
369
private
UnsafeNativeMethods
.ICommandPrepare? ICommandPrepare()
372
return _icommandText as
UnsafeNativeMethods
.ICommandPrepare;
376
private
UnsafeNativeMethods
.ICommandWithParameters ICommandWithParameters()
379
UnsafeNativeMethods
.ICommandWithParameters? value = (_icommandText as
UnsafeNativeMethods
.ICommandWithParameters);
394
UnsafeNativeMethods
.ICommandWithParameters commandWithParameters = ICommandWithParameters();
412
UnsafeNativeMethods
.IAccessor iaccessor = IAccessor();
421
private unsafe void ApplyParameterBindings(
UnsafeNativeMethods
.ICommandWithParameters commandWithParameters, tagDBPARAMBINDINFO[] bindInfo)
465
UnsafeNativeMethods
.ICommandText? icmdtxt = _icommandText;
552
UnsafeNativeMethods
.ICommandText? ict = Interlocked.Exchange(ref _icommandText, null);
721
UnsafeNativeMethods
.IMultipleResults? multipleResults = (
UnsafeNativeMethods
.IMultipleResults?)executeResult;
1217
UnsafeNativeMethods
.ICommandPrepare? icommandPrepare = ICommandPrepare();
1250
UnsafeNativeMethods
.ICommandProperties icommandProperties = ICommandProperties();
1306
UnsafeNativeMethods
.ICommandProperties icommandProperties = ICommandProperties();
OleDbConnection.cs (5)
261
internal
UnsafeNativeMethods
.ICommandText? ICommandText()
493
internal void OnInfoMessage(
UnsafeNativeMethods
.IErrorInfo errorInfo, OleDbHResult errorCode)
588
OleDbHResult hr =
UnsafeNativeMethods
.GetErrorInfo(0, out
UnsafeNativeMethods
.IErrorInfo? errorInfo); // 0 - IErrorInfo exists, 1 - no IErrorInfo
618
UnsafeNativeMethods
.ReleaseComWrappersObject(errorInfo);
OleDbConnectionInternal.cs (10)
226
internal
UnsafeNativeMethods
.ICommandText? ICommandText()
246
return (
UnsafeNativeMethods
.ICommandText?)icommandText;
270
UnsafeNativeMethods
.ITransactionLocal? value = (unknown as
UnsafeNativeMethods
.ITransactionLocal);
386
UnsafeNativeMethods
.IDBInfo dbInfo = wrapper.Value;
471
UnsafeNativeMethods
.IDBInfo dbInfo = wrapper.Value;
534
UnsafeNativeMethods
.IDBInfo dbInfo = wrapper.Value;
577
UnsafeNativeMethods
.IDBSchemaRowset? dbSchemaRowset = wrapper.Value;
627
UnsafeNativeMethods
.IDBSchemaRowset dbSchemaRowset = wrapper.Value;
633
UnsafeNativeMethods
.IRowset? rowset = null;
OleDbConnectionString.cs (4)
79
internal
UnsafeNativeMethods
.IUnknownQueryInterface? DangerousDataSourceIUnknownQueryInterface;
80
internal
UnsafeNativeMethods
.IDBInitializeInitialize? DangerousIDBInitializeInitialize;
81
internal
UnsafeNativeMethods
.IDBCreateSessionCreateSession? DangerousIDBCreateSessionCreateSession;
82
internal
UnsafeNativeMethods
.IDBCreateCommandCreateCommand? DangerousIDBCreateCommandCreateCommand;
OleDbDataAdapter.cs (11)
207
UnsafeNativeMethods
.ADORecordsetConstruction? recordset = (adodb as
UnsafeNativeMethods
.ADORecordsetConstruction);
208
UnsafeNativeMethods
.ADORecordConstruction? record = null;
216
activeConnection = ((
UnsafeNativeMethods
.Recordset15)adodb).get_ActiveConnection();
226
record = (adodb as
UnsafeNativeMethods
.ADORecordConstruction);
256
OleDbHResult hr = ((
UnsafeNativeMethods
.Recordset15)adodb).NextRecordset(out _, out nextresult);
273
recordset = (
UnsafeNativeMethods
.ADORecordsetConstruction)adodb;
309
private int FillFromRecordset(object data,
UnsafeNativeMethods
.ADORecordsetConstruction recordset, string? srcTable, out bool incrementResultCount)
367
private int FillFromRecord(object data,
UnsafeNativeMethods
.ADORecordConstruction record, string srcTable)
419
hr = ((
UnsafeNativeMethods
.Recordset15)value).Close();
423
hr = ((
UnsafeNativeMethods
._ADORecord)value).Close();
OleDbDataReader.cs (35)
31
private
UnsafeNativeMethods
.IMultipleResults? _imultipleResults;
32
private
UnsafeNativeMethods
.IRowset? _irowset;
33
private
UnsafeNativeMethods
.IRow? _irow;
100
_imultipleResults = (
UnsafeNativeMethods
.IMultipleResults?)result; // maybe null if no results
112
_irowset = (
UnsafeNativeMethods
.IRowset?)result; // maybe null if no results
122
_irow = (
UnsafeNativeMethods
.IRow?)result; // maybe null if no results
224
private
UnsafeNativeMethods
.IAccessor IAccessor()
226
return (
UnsafeNativeMethods
.IAccessor)IRowset();
230
private
UnsafeNativeMethods
.IRowsetInfo IRowsetInfo()
232
return (
UnsafeNativeMethods
.IRowsetInfo)IRowset();
235
private
UnsafeNativeMethods
.IRowset IRowset()
237
UnsafeNativeMethods
.IRowset? irowset = _irowset;
246
private
UnsafeNativeMethods
.IRow IRow()
248
UnsafeNativeMethods
.IRow? irow = _irow;
456
UnsafeNativeMethods
.IColumnsInfo? icolumnsInfo = (handle as
UnsafeNativeMethods
.IColumnsInfo);
604
UnsafeNativeMethods
.IColumnsRowset? icolumnsRowset = (handle as
UnsafeNativeMethods
.IColumnsRowset);
608
UnsafeNativeMethods
.IRowset? rowset = null;
665
UnsafeNativeMethods
.IMultipleResults? multipleResults = _imultipleResults;
772
UnsafeNativeMethods
.IMultipleResults? imultipleResults = _imultipleResults;
783
UnsafeNativeMethods
.IRowset? irowset = _irowset;
802
UnsafeNativeMethods
.IRow? irow = _irow;
951
UnsafeNativeMethods
.IRowsetInfo rowsetInfo = IRowsetInfo();
952
UnsafeNativeMethods
.IRowset? result;
1221
internal static OleDbException? NextResults(
UnsafeNativeMethods
.IMultipleResults? imultipleResults, OleDbConnection? connection, OleDbCommand command, out IntPtr recordsAffected)
1309
UnsafeNativeMethods
.IMultipleResults? imultipleResults = _imultipleResults;
1333
_irowset = (
UnsafeNativeMethods
.IRowset)result;
1473
UnsafeNativeMethods
.IAccessor iaccessor = IAccessor();
1702
UnsafeNativeMethods
.IRowset irowset = IRowset();
1743
UnsafeNativeMethods
.IRowset irowset = IRowset();
1780
UnsafeNativeMethods
.IRowset irowset = IRowset();
1811
UnsafeNativeMethods
.IRowsetInfo irowsetinfo = IRowsetInfo();
1873
UnsafeNativeMethods
.IRow irow = IRow();
2232
internal void DumpToSchemaTable(
UnsafeNativeMethods
.IRowset? rowset)
OleDbError.cs (7)
16
internal OleDbError(
UnsafeNativeMethods
.IErrorRecords errorRecords, int index)
24
UnsafeNativeMethods
.IErrorInfo? errorInfo = errorRecords.GetErrorInfo(index, lcid);
33
UnsafeNativeMethods
.ReleaseComWrappersObject(errorInfo);
53
UnsafeNativeMethods
.ReleaseComWrappersObject(errorInfo);
72
UnsafeNativeMethods
.ReleaseComWrappersObject(errorInfo);
75
UnsafeNativeMethods
.ISQLErrorInfo sqlErrorInfo;
86
UnsafeNativeMethods
.ReleaseComWrappersObject(sqlErrorInfo);
OleDbErrorCollection.cs (3)
15
internal OleDbErrorCollection(
UnsafeNativeMethods
.IErrorInfo? errorInfo)
18
UnsafeNativeMethods
.IErrorRecords? errorRecords = (errorInfo as
UnsafeNativeMethods
.IErrorRecords);
OleDbException.cs (1)
68
internal static OleDbException CreateException(
UnsafeNativeMethods
.IErrorInfo errorInfo, OleDbHResult errorCode, Exception? inner)
OleDbTransaction.cs (4)
28
internal WrappedTransaction(
UnsafeNativeMethods
.ITransactionLocal transaction, int isolevel, out OleDbHResult hr) : base(transaction)
192
UnsafeNativeMethods
.ITransactionLocal? wrapper = null;
195
wrapper = (
UnsafeNativeMethods
.ITransactionLocal)_transaction.ComWrapper();
213
internal void BeginInternal(
UnsafeNativeMethods
.ITransactionLocal transaction)
OleDbWrapper.cs (29)
22
private readonly
UnsafeNativeMethods
.IDataInitializeGetDataSource? DangerousIDataInitializeGetDataSource;
35
base.handle = Marshal.GetComInterfaceForObject(unknown, typeof(
UnsafeNativeMethods
.IDataInitialize));
42
DangerousIDataInitializeGetDataSource = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IDataInitializeGetDataSource>(method);
49
UnsafeNativeMethods
.IDataInitializeGetDataSource GetDataSource = DangerousIDataInitializeGetDataSource!;
142
UnsafeNativeMethods
.IUnknownQueryInterface? QueryInterface = constr.DangerousDataSourceIUnknownQueryInterface;
148
QueryInterface = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IUnknownQueryInterface>(method);
159
UnsafeNativeMethods
.IDBInitializeInitialize? Initialize = constr.DangerousIDBInitializeInitialize;
165
Initialize = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IDBInitializeInitialize>(method);
188
UnsafeNativeMethods
.IDBCreateSessionCreateSession? CreateSession = constr.DangerousIDBCreateSessionCreateSession;
194
CreateSession = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IDBCreateSessionCreateSession>(method);
305
private
UnsafeNativeMethods
.IDBCreateCommandCreateCommand? DangerousIDBCreateCommandCreateCommand;
340
UnsafeNativeMethods
.IUnknownQueryInterface QueryInterface = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IUnknownQueryInterface>(method);
352
DangerousIDBCreateCommandCreateCommand = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IDBCreateCommandCreateCommand>(method);
387
UnsafeNativeMethods
.IDBCreateCommandCreateCommand CreateCommand = constr.DangerousIDBCreateCommandCreateCommand;
393
CreateCommand = Marshal.GetDelegateForFunctionPointer<
UnsafeNativeMethods
.IDBCreateCommandCreateCommand>(method);
405
UnsafeNativeMethods
.IDBCreateCommandCreateCommand? CreateCommand = DangerousIDBCreateCommandCreateCommand;
462
private
UnsafeNativeMethods
.IDBInfo _value;
467
_value = (unknown as
UnsafeNativeMethods
.IDBInfo)!;
470
internal
UnsafeNativeMethods
.IDBInfo Value
493
private
UnsafeNativeMethods
.IDBProperties _value;
498
_value = (unknown as
UnsafeNativeMethods
.IDBProperties)!;
502
internal
UnsafeNativeMethods
.IDBProperties Value
526
private
UnsafeNativeMethods
.IDBSchemaRowset _value;
531
_value = (unknown as
UnsafeNativeMethods
.IDBSchemaRowset)!;
534
internal
UnsafeNativeMethods
.IDBSchemaRowset Value
557
private
UnsafeNativeMethods
.IOpenRowset _value;
562
_value = (unknown as
UnsafeNativeMethods
.IOpenRowset)!;
566
internal
UnsafeNativeMethods
.IOpenRowset Value
PropertyInfoSet.cs (1)
32
internal PropertyInfoSet(
UnsafeNativeMethods
.IDBProperties idbProperties, PropertyIDSet propIDSet) : base(IntPtr.Zero, true)
RowBinding.cs (5)
19
private
UnsafeNativeMethods
.IAccessor? _iaccessor;
94
internal OleDbHResult CreateAccessor(
UnsafeNativeMethods
.IAccessor iaccessor, int flags, ColumnBinding[] bindings)
322
UnsafeNativeMethods
.IAccessor? iaccessor = _iaccessor;
471
UnsafeNativeMethods
.IChapteredRowset chapteredRowset = (iaccessor as
UnsafeNativeMethods
.IChapteredRowset)!;
SafeHandles.cs (7)
10
using static System.Data.Common.
UnsafeNativeMethods
;
28
internal DualCoTaskMem(
UnsafeNativeMethods
.IDBInfo dbInfo, int[]? literals, out int literalCount, out IntPtr literalInfo, out OleDbHResult hr) : this()
36
internal DualCoTaskMem(
UnsafeNativeMethods
.IColumnsInfo columnsInfo, out IntPtr columnCount, out IntPtr columnInfos, out OleDbHResult hr) : this()
43
internal DualCoTaskMem(
UnsafeNativeMethods
.IDBSchemaRowset dbSchemaRowset, out int schemaCount, out IntPtr schemaGuids, out IntPtr schemaRestrictions, out OleDbHResult hr) : this()
50
internal DualCoTaskMem(
UnsafeNativeMethods
.IColumnsRowset icolumnsRowset, out IntPtr cOptColumns, out OleDbHResult hr) : base(IntPtr.Zero, true)
194
Guid IID_IChapteredRowset = typeof(System.Data.Common.
UnsafeNativeMethods
.IChapteredRowset).GUID;
200
var chapteredRowset = (System.Data.Common.
UnsafeNativeMethods
.IChapteredRowset)Marshal.GetObjectForIUnknown(pChapteredRowset);