Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsWindowsRegKey.h File Reference
#include "nsIWindowsRegKey.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NS_WINDOWSREGKEY_CONTRACTID   "@mozilla.org/windows-registry-key;1"
 This ContractID may be used to instantiate a windows registry key object via the XPCOM component manager.

Functions

NS_COM nsresult NS_NewWindowsRegKey (nsIWindowsRegKey **result)
 This function may be used to instantiate a windows registry key object prior to XPCOM being initialized.

Define Documentation

#define NS_WINDOWSREGKEY_CONTRACTID   "@mozilla.org/windows-registry-key;1"

This ContractID may be used to instantiate a windows registry key object via the XPCOM component manager.

Definition at line 50 of file nsWindowsRegKey.h.


Function Documentation

This function may be used to instantiate a windows registry key object prior to XPCOM being initialized.

Definition at line 715 of file nsWindowsRegKey.cpp.

{
  *result = new nsWindowsRegKey();
  if (!*result)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(*result);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: