NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISymbolWriter.DefineGlobalVariable

Defines a single global variable.

[Visual Basic]
Sub DefineGlobalVariable( _
   ByVal name As String, _
   ByVal attributes As FieldAttributes, _
   ByVal signature() As Byte, _
   ByVal addrKind As SymAddressKind, _
   ByVal addr1 As Integer, _
   ByVal addr2 As Integer, _
   ByVal addr3 As Integer _
)
[C#]
void DefineGlobalVariable(
   string name,
   FieldAttributes attributes,
   byte[] signature,
   SymAddressKind addrKind,
   int addr1,
   int addr2,
   int addr3
);
[C++]
void DefineGlobalVariable(
   String* name,
   FieldAttributes attributes,
   unsigned char* signature[],
   SymAddressKind addrKind,
   int addr1,
   int addr2,
   int addr3
) = 0;
[JScript]
function DefineGlobalVariable(
   name : String,
   attributes : FieldAttributes,
   signature : Byte[],
   addrKind : SymAddressKind,
   addr1 : int,
   addr2 : int,
   addr3 : int
);

Parameters

name
The global variable name.
attributes
The global variable attributes specified using the FieldAttributes enum.
signature
The global variable signature.
addrKind
The address types for addr1, addr2, and addr3 using SymAddressKind.
addr1
The first address for the global variable specification.
addr2
The second address for the global variable specification.
addr3
The third address for the global variable specification.

See Also

ISymbolWriter Interface | ISymbolWriter Members | System.Diagnostics.SymbolStore Namespace