Skip to content

Delete unnecessary spaces #2517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 66 additions & 66 deletions docs/extensibility/debugger/reference/debug-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,79 +2,79 @@
title: "DEBUG_ADDRESS | Microsoft Docs"
ms.date: "11/04/2016"
ms.topic: "conceptual"
f1_keywords:
f1_keywords:
- "DEBUG_ADDRESS"
helpviewer_keywords:
helpviewer_keywords:
- "DEBUG_ADDRESS structure"
ms.assetid: 79f5e765-9aac-4b6e-82ef-bed88095e9ba
author: "gregvanl"
ms.author: "gregvanl"
manager: jillfra
ms.workload:
ms.workload:
- "vssdk"
---
# DEBUG_ADDRESS
This structure represents an address.
## Syntax
```cpp
typedef struct _tagDEBUG_ADDRESS {
ULONG32 ulAppDomainID;
GUID guidModule;
_mdToken tokClass;
DEBUG_ADDRESS_UNION addr;
} DEBUG_ADDRESS;
```
```csharp
public struct DEBUG_ADDRESS {
public uint ulAppDomainID;
public Guid guidModule;
public int tokClass;
public DEBUG_ADDRESS_UNION addr;
}
```
## Terms
ulAppDomainID
The process ID.
guidModule
The GUID of the module that contains this address.
tokClass
The token identifying the class or type of this address.
This structure represents an address.

## Syntax

```cpp
typedef struct _tagDEBUG_ADDRESS {
ULONG32 ulAppDomainID;
GUID guidModule;
_mdToken tokClass;
DEBUG_ADDRESS_UNION addr;
} DEBUG_ADDRESS;
```

```csharp
public struct DEBUG_ADDRESS {
public uint ulAppDomainID;
public Guid guidModule;
public int tokClass;
public DEBUG_ADDRESS_UNION addr;
}
```

## Terms
ulAppDomainID
The process ID.

guidModule
The GUID of the module that contains this address.

tokClass
The token identifying the class or type of this address.

> [!NOTE]
> This value is specific to a symbol provider and therefore has no general meaning other than as an identifier for a class type.
addr
A [DEBUG_ADDRESS_UNION](../../../extensibility/debugger/reference/debug-address-union.md) structure, which contains a union of structures that describe the individual address types. The value `addr`.`dwKind` comes from the [ADDRESS_KIND](../../../extensibility/debugger/reference/address-kind.md) enumeration, which explains how to interpret the union.
## Remarks
This structure is passed to the [GetAddress](../../../extensibility/debugger/reference/idebugaddress-getaddress.md) method to be filled in.
**Warning [C++ only]**
If `addr.dwKind` is `ADDRESS_KIND_METADATA_LOCAL` and if `addr.addr.addrLocal.pLocal` is not a null value, then you must call `Release` on the token pointer:
```
if (addr.dwKind == ADDRESS_KIND_METADATA_LOCAL && addr.addr.addrLocal.pLocal != NULL)
{
addr.addr.addrLocal.pLocal->Release();
}
```
## Requirements
Header: sh.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll
## See Also
[Structures and Unions](../../../extensibility/debugger/reference/structures-and-unions.md)
[GetAddress](../../../extensibility/debugger/reference/idebugaddress-getaddress.md)
[DEBUG_ADDRESS_UNION](../../../extensibility/debugger/reference/debug-address-union.md)
[ADDRESS_KIND](../../../extensibility/debugger/reference/address-kind.md)
> This value is specific to a symbol provider and therefore has no general meaning other than as an identifier for a class type.

addr
A [DEBUG_ADDRESS_UNION](../../../extensibility/debugger/reference/debug-address-union.md) structure, which contains a union of structures that describe the individual address types. The value `addr`.`dwKind` comes from the [ADDRESS_KIND](../../../extensibility/debugger/reference/address-kind.md) enumeration, which explains how to interpret the union.

## Remarks
This structure is passed to the [GetAddress](../../../extensibility/debugger/reference/idebugaddress-getaddress.md) method to be filled in.

**Warning [C++ only]**

If `addr.dwKind` is `ADDRESS_KIND_METADATA_LOCAL` and if `addr.addr.addrLocal.pLocal` is not a null value, then you must call `Release` on the token pointer:

```
if (addr.dwKind == ADDRESS_KIND_METADATA_LOCAL && addr.addr.addrLocal.pLocal != NULL)
{
addr.addr.addrLocal.pLocal->Release();
}
```

## Requirements
Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

## See Also
[Structures and Unions](../../../extensibility/debugger/reference/structures-and-unions.md)
[GetAddress](../../../extensibility/debugger/reference/idebugaddress-getaddress.md)
[DEBUG_ADDRESS_UNION](../../../extensibility/debugger/reference/debug-address-union.md)
[ADDRESS_KIND](../../../extensibility/debugger/reference/address-kind.md)