Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsSound.cpp File Reference
#include "nscore.h"
#include "plstr.h"
#include <stdio.h>
#include <string.h>
#include <os2.h>
#include "nsSound.h"
#include "nsIURL.h"
#include "nsNetUtil.h"
#include "nsIPref.h"
#include "nsDirectoryServiceDefs.h"

Go to the source code of this file.


#define INCL_DOS


static void InitGlobals (void)


static int gInitialized = 0
static PRBool gMMPMInstalled = PR_FALSE

Define Documentation

Definition at line 47 of file nsSound.cpp.

Definition at line 48 of file nsSound.cpp.

Function Documentation

static void InitGlobals ( void  ) [static]

Definition at line 64 of file nsSound.cpp.

  APIRET ulrc;
  HMODULE hmod;
  char LoadError[CCHMAXPATH];
  ulrc = DosLoadModule(LoadError, CCHMAXPATH, "MMPM", &hmod);
  if (ulrc == NO_ERROR) {
    gMMPMInstalled = PR_TRUE;
  gInitialized = 1;

Variable Documentation

int gInitialized = 0 [static]

Definition at line 60 of file nsSound.cpp.

Definition at line 61 of file nsSound.cpp.