mydll.h

来自「VBVC之间的通信」· C头文件 代码 · 共 32 行

H
32
字号
    /* prototypes */ 
    #include <windows.h>
    #include <oleauto.h>
	#include <ole2.h>

	//#include <afxwin.h>
	//#include <afxdisp.h>

    long __declspec (dllexport) __stdcall AddLongs_Pointer(long
    *plArrayOfLongs, long lElements);

    long __declspec (dllexport) __stdcall AddLongs_SafeArray(SAFEARRAY
    **psaArray, long *plSum); 

	struct tagTestUDT
      {
         long l;
         BSTR str;
      } TestUDT;

      //void __stdcall ModifyStruct(struct tagTestUDT *t, long nTotalItem);
typedef struct
      {
      short f1;
      short filler_1;
      long f2;
      BYTE f3;
      WCHAR f4;
      BYTE filler_2;
      float f5;
      } MyStruct;
      

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?