atom.h 409 Bytes
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3 4 5 6
/*
 * Atom table definitions
 *
 * Copyright 1993 Alexandre Julliard
 */

Alexandre Julliard's avatar
Alexandre Julliard committed
7 8
#ifndef __WINE_ATOM_H
#define __WINE_ATOM_H
Alexandre Julliard's avatar
Alexandre Julliard committed
9 10 11

#include "windows.h"

Alexandre Julliard's avatar
Alexandre Julliard committed
12
extern BOOL32 ATOM_Init(void);
Alexandre Julliard's avatar
Alexandre Julliard committed
13

Alexandre Julliard's avatar
Alexandre Julliard committed
14 15
typedef struct
{
Alexandre Julliard's avatar
Alexandre Julliard committed
16
    HANDLE16    next;
Alexandre Julliard's avatar
Alexandre Julliard committed
17 18 19 20 21 22 23 24
    WORD        refCount;
    BYTE        length;
    BYTE        str[1];
} ATOMENTRY;

typedef struct
{
    WORD        size;
Alexandre Julliard's avatar
Alexandre Julliard committed
25
    HANDLE16    entries[1];
Alexandre Julliard's avatar
Alexandre Julliard committed
26 27
} ATOMTABLE;

Alexandre Julliard's avatar
Alexandre Julliard committed
28
#endif  /* __WINE_ATOM_H */