Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsClipboard.cpp File Reference
#include "nsClipboard.h"
#include "nsXPCOM.h"
#include "nsISupportsPrimitives.h"
#include "nsCOMPtr.h"
#include "nsPrimitiveHelpers.h"
#include "nsXPIDLString.h"
#include "prmem.h"
#include "nsIObserverService.h"
#include "nsIServiceManager.h"
#include "nsOS2Uni.h"
#include <unidef.h>

Go to the source code of this file.

Functions

ULONG RegisterClipboardFormat (PCSZ pcszFormat)

Function Documentation

ULONG RegisterClipboardFormat ( PCSZ  pcszFormat) [inline]

Definition at line 55 of file nsClipboard.cpp.

{
  ATOM atom = WinFindAtom(WinQuerySystemAtomTable(), pcszFormat);
  if (!atom) {
    atom = WinAddAtom(WinQuerySystemAtomTable(), pcszFormat); 
  }
  return atom;
}

Here is the call graph for this function:

Here is the caller graph for this function: