$GetSharedMem = Win32::API->new('shmdll', 'int GetSharedMem(int shareIndex,MYBUFFER* lpszBuf, DWORD bufLength)');