### IModuleHandle

  Constructs an IModuleHandle object from an operating system handle of type Value. Typically this value originates in a system API call.

### IModuleHandle - Member Functions and Data by Group

### Constructors & Destructor

The constructors and destructor for this class.

IModuleHandle

      public:
      IModuleHandle(Value value = 0)

  Construct an IModuleHandle from an operating system dependent value.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Diagnostics

Functions for accessing the handle value.

asDebugInfo

      public:
      IString asDebugInfo() const

  Returns the handle as a string containing diagnostic information.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

asString

      public:
      IString asString() const

  Returns the handle as a string of form nnnn.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Member Access

These methods give you access to the handle member.

asUnsigned

      public:
      unsigned long asUnsigned() const

  Returns the handle value as an unsigned long value.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

operator Value

      public:
      operator Value() const

  Returns the handle as its operating system dependent type. Use this operator when you use the handle object as an argument to an operating system function.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IModuleHandle - Type Definitions

Value

      typedef void * Value

  A typedef for the value of the module handle.

  Variation 1

      typedef void * Value

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

  Variation 2

      typedef unsigned long Value

Supported Platforms

  Windows | OS/2 | AIX
  No | Yes | No

### IModuleHandle - Associated Globals

operator <<

      ostream& operator <<(ostream& aStream, const IModuleHandle& aHandle)

  Formats this module object to the passed ostream.

### IModuleHandle - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None