Table of Contents

Method ProvideLibrary

Namespace
Microsoft.Samples.Debugging.CorDebug
Assembly
corapi.dll

ProvideLibrary(string, int, int, out IntPtr)

Provides a version specific debugging library

int ProvideLibrary(string fileName, int timestamp, int sizeOfImage, out IntPtr hModule)

Parameters

fileName string

The name of the library being requested

timestamp int

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

sizeOfImage int

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

hModule IntPtr

Returns

int

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