#ifndef __VM_CODE_H
#define __VM_CODE_H

#include "Windas.h"
#include "Code.h"

typedef struct _VM_CODE_LINK
{
	_VM_CODE_LINK*	Next;
	_VM_CODE_LINK*	Prev;

	ULONG			Flags;
	ULONG			Label;
	PUCHAR			RawData;
	ULONG			RawDataSize;

	_VM_CODE_LINK();
	_VM_CODE_LINK(ULONG LabelId);
}VM_CODE_LINK, *PVM_CODE_LINK;

typedef struct _VM_CODE_BLOCK
{
	PVM_CODE_LINK Start;
	PVM_CODE_LINK End;
}VM_CODE_BLOCK, *PVM_CODE_BLOCK;

#endif