Can I specify multiple static entry points from the same or different unmanaged DLLs?
Yes. Just use multiple 'DllImport' attributes. For example,
Code: [DllImport("decrypt.dll", EntryPoint = "_GetSerialRegData"/*, ExactSpelling = false*/, SetLastError=true)]
static extern void GetSerialRegData(...);
[DllImport("decrypt.dll", EntryPoint = "_GetActivationCode"/*, ExactSpelling = false*/, SetLastError = true)]
static extern void GetActivationCode(...);
Refer to
Duplicate 'DllImport' attribute.