Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
NetSprocket Functions / Utility Functions


NSpClearMessageHeader

You can use the NSpClearMessageHeader function to initialize the entire header structure.

void NSpClearMessageHeader (
	NSpGameReference inGame,
	NSpMessageHeader *ioMessage);
inGame
An opaque reference to your game object.
ioMessage
A pointer to the message to be initialized.
DESCRIPTION
You should call the NSpClearMessageHeader function each time before you start filling in your message structures. If you fail to initialize your message structures, you may end up with invalid data.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996