DX Library Copyright (C) 2001-2008 Takumi Yamada. [DllImport("DxLib.dll", EntryPoint = "dx_GetHitKeyStateAll")] extern static int dx_GetHitKeyStateAll([Out] byte[] KeyStateBuf); public static int GetHitKeyStateAll(out byte[] KeyStateBuf) { byte[] KeyStateBuf_ = new byte[256]; dx_GetHitKeyStateAll(KeyStateBuf_); KeyStateBuf = KeyStateBuf_; return(0); }