GetGlobalMemoryService

« XPCOM API Reference

Summary

The GetGlobalMemoryService function returns a reference to XPCOM's global nsIMemory object.

 static nsIMemory* GetGlobalMemoryService();

Return Values

This function returns nsnull if the global memory manager does not exist or could not be initialized.

Remarks

This function returns the same value as the NS_GetMemoryManager function.

See Also

NS_GetMemoryManager