# dmd.scanmscoff

Extract symbols from a COFF object file.

#### Authors

Walter Bright

#### License

Boost License 1.0

Source: scanmscoff.d

Documentation: https://dlang.org/phobos/dmd_scanmscoff.html

Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/scanmscoff.d

- `scanMSCoffObjModule`

  #### Declaration

  `void `scanMSCoffObjModule`(void delegate(const(char)[] name, int pickAny) `pAddSymbol`, scope const ubyte[] `base`, const char* `module_name`, Loc `loc`, ErrorSink `eSink`);`

  Reads an object module from `base`[] and passes the names of any exported symbols to (*`pAddSymbol`)().

  #### Parameters

  `void delegate(const(char)[] name, int pickAny) `pAddSymbol`` | function to pass the names to
  `ubyte[] `base`` | array of contents of object module
  `char* `module_name`` | name of the object module (used for error messages)
  `Loc `loc`` | location to use for error printing
  `ErrorSink `eSink`` | where the error messages go