2 Copyright © 2003, The AROS Development Team. All rights reserved.
6 #include "workbench_intern.h"
8 #include "handler_support.h"
10 struct WBCommandMessage
*__CreateWBCM_WB
12 enum WBCM_Type type
, struct WorkbenchBase
*WorkbenchBase
15 struct WBCommandMessage
*message
= (struct WBCommandMessage
*) AllocMem
17 WBCM_SIZE
, MEMF_PUBLIC
| MEMF_CLEAR
22 message
->wbcm_Message
.mn_Length
= WBCM_SIZE
;
23 message
->wbcm_Type
= type
;
31 struct WBCommandMessage
*message
, struct WorkbenchBase
*WorkbenchBase
36 FreeMem(message
, WBCM_SIZE
);