No, these macros are only usable from a C or C++ compiler. It is a simple text substitution, look in the windowsx.h SDK header file for the actual text that's generated when you use the macro. You'll see that you have to pinvoke EnableWindow().
You should not be using this at all btw, use an UI Automation library to commandeer another program. If these are your own buttons then use the Enabled property instead.