DkmModule.GetFunctionInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetFunctionInfo(String) |
Search a module's symbols for a function with the specified name. Returns the RVA and size if it is found. Location constraint: API must be called from a Monitor component (component level < 100,000). |
GetFunctionInfo(DkmWorkList, String, DkmCompletionRoutine<DkmGetFunctionInfoAsyncResult>) |
Search a module's symbols for a function with the specified name. Returns the RVA and size if it is found. This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. Location constraint: API must be called from a Monitor component (component level < 100,000). |
GetFunctionInfo(String)
Search a module's symbols for a function with the specified name. Returns the RVA and size if it is found.
Location constraint: API must be called from a Monitor component (component level < 100,000).
public:
cli::array <Microsoft::VisualStudio::Debugger::Symbols::DkmRVASizePair> ^ GetFunctionInfo(System::String ^ FunctionName);
public:
Platform::Array <Microsoft::VisualStudio::Debugger::Symbols::DkmRVASizePair> ^ GetFunctionInfo(Platform::String ^ FunctionName);
std::Array <Microsoft::VisualStudio::Debugger::Symbols::DkmRVASizePair> GetFunctionInfo(std::wstring const & FunctionName);
public Microsoft.VisualStudio.Debugger.Symbols.DkmRVASizePair[] GetFunctionInfo (string FunctionName);
member this.GetFunctionInfo : string -> Microsoft.VisualStudio.Debugger.Symbols.DkmRVASizePair[]
Public Function GetFunctionInfo (FunctionName As String) As DkmRVASizePair()
Parameters
- FunctionName
- String
[In] The name of the function to search for.
Returns
[Out] The RVA / size pairs from the query.
Applies to
GetFunctionInfo(DkmWorkList, String, DkmCompletionRoutine<DkmGetFunctionInfoAsyncResult>)
Search a module's symbols for a function with the specified name. Returns the RVA and size if it is found.
This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.
Location constraint: API must be called from a Monitor component (component level < 100,000).
public:
void GetFunctionInfo(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, System::String ^ FunctionName, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Symbols::DkmGetFunctionInfoAsyncResult> ^ CompletionRoutine);
public void GetFunctionInfo (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, string FunctionName, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetFunctionInfoAsyncResult> CompletionRoutine);
member this.GetFunctionInfo : Microsoft.VisualStudio.Debugger.DkmWorkList * string * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetFunctionInfoAsyncResult> -> unit
Public Sub GetFunctionInfo (WorkList As DkmWorkList, FunctionName As String, CompletionRoutine As DkmCompletionRoutine(Of DkmGetFunctionInfoAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- FunctionName
- String
[In] The name of the function to search for.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetFunctionInfoAsyncResult>
Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.