You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/extensibility/debugger/reference/idebugbeforesymbolsearchevent2-getmodulename.md
+50-50Lines changed: 50 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -2,62 +2,62 @@
2
2
title: "IDebugBeforeSymbolSearchEvent2::GetModuleName | Microsoft Docs"
3
3
ms.date: "11/04/2016"
4
4
ms.topic: "conceptual"
5
-
helpviewer_keywords:
5
+
helpviewer_keywords:
6
6
- "GetModuleName"
7
7
- "IDebugBeforeSymbolSearchEvent2::GetModuleName"
8
8
ms.assetid: 0b4abeac-2eaf-4b2e-a2d5-c9ec303bc869
9
9
author: "gregvanl"
10
10
ms.author: "gregvanl"
11
11
manager: jillfra
12
-
ms.workload:
12
+
ms.workload:
13
13
- "vssdk"
14
14
---
15
15
# IDebugBeforeSymbolSearchEvent2::GetModuleName
16
-
Retrieves the name of the module currently being debugged.
17
-
18
-
## Syntax
19
-
20
-
```cpp
21
-
HRESULT GetModuleName(
22
-
BSTR *pbstrModuleName
23
-
);
24
-
```
25
-
26
-
```csharp
27
-
publicintGetModuleName (
28
-
stringpbstrModuleName
29
-
);
30
-
```
31
-
32
-
#### Parameters
33
-
`pbstrModuleName`
34
-
[out] Name of the module.
35
-
36
-
## Return Value
37
-
If successful, returns `S_OK`; otherwise, returns an error code.
38
-
39
-
## Example
40
-
The following example shows how to implement this method for a **CDebugBeforeSymbolSearchEventBase** object that exposes the [IDebugBeforeSymbolSearchEvent2](../../../extensibility/debugger/reference/idebugbeforesymbolsearchevent2.md) interface.
Retrieves the name of the module currently being debugged.
17
+
18
+
## Syntax
19
+
20
+
```cpp
21
+
HRESULT GetModuleName(
22
+
BSTR *pbstrModuleName
23
+
);
24
+
```
25
+
26
+
```csharp
27
+
publicintGetModuleName (
28
+
stringpbstrModuleName
29
+
);
30
+
```
31
+
32
+
#### Parameters
33
+
`pbstrModuleName`
34
+
[out] Name of the module.
35
+
36
+
## Return Value
37
+
If successful, returns `S_OK`; otherwise, returns an error code.
38
+
39
+
## Example
40
+
The following example shows how to implement this method for a **CDebugBeforeSymbolSearchEventBase** object that exposes the [IDebugBeforeSymbolSearchEvent2](../../../extensibility/debugger/reference/idebugbeforesymbolsearchevent2.md) interface.
0 commit comments