hgeResourceManager::GetStream

Returns handle to a named audio stream.

HSTREAM GetStream(
  const char *name
);

Parameters

name
Audio stream name.

Return value

If successful, returns handle to the stream. Otherwise returns 0.

Remarks

You could use the name defined in the resource script or just a plain file name, either absolute or relative to the application folder or resource package root.

If the stream hasn't been loaded yet, it will be loaded. Otherwise handle to the existing stream will be returned.

Requirements

Header: hgeresource.h
Import library: hgehelp.lib