System.dll 64bit fixes

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6509 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-07-01 22:09:38 +00:00
parent 91756476d6
commit 47eadad506
3 changed files with 34 additions and 29 deletions

View file

@ -83,10 +83,12 @@ typedef struct
int Type;
int Option; // -1 -> Pointer, 1-... -> Special+1
INT_PTR Value; // it can hold any pointer sized value
int _value; // value buffer for structures > 4 bytes (I hope 8 bytes will be enough) BUGBUG: Does Win64 need this?
#ifndef _WIN64
int _value; // Upper 32 bits of Value when type is 64 bit (2 pushes)
#endif
int Size; // Value real size (should be either 1 or 2 (the number of pushes))
int Input; //BUGBUG: What about pointers on Win64?
int Output;
INT_PTR Input;
HGLOBAL allocatedBlock; // block allocated for passing string, wstring or guid param
} ProcParameter;