Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

dllkit.c File Reference


Detailed Description

Implements functions from dllkit.h. Library for creating emu6502 plugins.

Definition in file dllkit.c.#include "dllkit.h"

Go to the source code of this file.

Functions

BOOL CreateMsgList (MSGLIST *MsgList, int MessageCount)
 Allocates MsgList.

void FreeMsgList (MSGLIST MsgList)
 Deallocates MsgList Calls free on MsgList.

void AddMessage (MSGLIST MsgList, UINT Message)
 Adds Message to the given MsgList.


Function Documentation

void AddMessage MSGLIST    MsgList,
UINT    Message
 

Adds Message to the given MsgList.

Adds Message to the given MsgList. The message shouldn't be ENDOFMSGLIST.

Parameters:
MsgList  List of messages to which the Message should be added.
Message  Message which will be added to the MsgList

Definition at line 27 of file dllkit.c.

BOOL CreateMsgList MSGLIST   MsgList,
int    MessageCount
 

Allocates MsgList.

Allocates MsgList for holding MessageCount of messages. MsgList takes (MessageCount + 1) * sizeof(UINT) bytes and first item is set to ENDOFMSGLIST.

Parameters:
MsgList  A MSGLIST variable to be allocated.
MessageCount  Max. count of messages to be held within the list.
Returns :
TRUE if succesful, otherwise FALSE.

Definition at line 9 of file dllkit.c.

void FreeMsgList MSGLIST    MsgList
 

Deallocates MsgList Calls free on MsgList.

Parameters:
MsgList  A MSGLIST variable to be deallocated.

Definition at line 22 of file dllkit.c.


Generated on Fri Sep 6 18:32:15 2002 for Emu6502 by doxygen1.2.17