github.com/256dpi/max-go@v0.7.0/lib/max/ext_proto_win.h (about) 1 #ifndef __EXT_PROTO_WIN_H__ 2 #define __EXT_PROTO_WIN_H__ 3 4 #include "ext_prefix.h" 5 6 BEGIN_USING_C_LINKAGE 7 8 #if C74_PRAGMA_STRUCT_PACKPUSH 9 #pragma pack(push, 2) 10 #elif C74_PRAGMA_STRUCT_PACK 11 #pragma pack(2) 12 #endif 13 14 #ifdef WIN_VERSION 15 16 HINSTANCE main_get_instance(); 17 HWND main_get_client(); 18 HWND main_get_frame(); 19 LPSTR main_get_commandline(); 20 LPSTR main_get_appfilename(); 21 22 #endif // WIN_VERSION 23 24 #if C74_PRAGMA_STRUCT_PACKPUSH 25 #pragma pack(pop) 26 #elif C74_PRAGMA_STRUCT_PACK 27 #pragma pack() 28 #endif 29 30 END_USING_C_LINKAGE 31 32 #endif // __EXT_PROTO_WIN_H__