Share via


ICLRDebuggingLibraryProvider.ProvideLibrary Method

Definition

Provides a version specific debugging library

public:
 int ProvideLibrary(System::String ^ fileName, int timestamp, int sizeOfImage, [Runtime::InteropServices::Out] IntPtr % hModule);
public int ProvideLibrary (string fileName, int timestamp, int sizeOfImage, out IntPtr hModule);
abstract member ProvideLibrary : string * int * int * nativeint -> int
Public Function ProvideLibrary (fileName As String, timestamp As Integer, sizeOfImage As Integer, ByRef hModule As IntPtr) As Integer

Parameters

fileName
String

The name of the library being requested

timestamp
Int32

The timestamp of the library being requested as specified in the PE header

sizeOfImage
Int32

The SizeOfImage of the library being requested as specified in the PE header

hModule
IntPtr

nativeint

An OS handle to the requested library

Returns

HResults.S_OK if the library was located, otherwise any appropriate error hresult

Applies to