GetAccountType instead of GetGroup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1586 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4541bb7cc8
commit
e2c95aaa5b
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
#include "..\exdll\exdll.h"
|
||||
|
||||
void __declspec(dllexport) GetName(HWND hwndParent, int string_size,
|
||||
char *variables, stack_t **stacktop)
|
||||
char *variables, stack_t **stacktop)
|
||||
{
|
||||
EXDLL_INIT();
|
||||
|
||||
|
@ -17,8 +17,8 @@ void __declspec(dllexport) GetName(HWND hwndParent, int string_size,
|
|||
}
|
||||
}
|
||||
|
||||
void __declspec(dllexport) GetGroup(HWND hwndParent, int string_size,
|
||||
char *variables, stack_t **stacktop)
|
||||
void __declspec(dllexport) GetAccountType(HWND hwndParent, int string_size,
|
||||
char *variables, stack_t **stacktop)
|
||||
{
|
||||
EXDLL_INIT();
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ OutFile UserInfo.exe
|
|||
Section
|
||||
UserInfo::GetName
|
||||
Pop $0
|
||||
UserInfo::GetGroup
|
||||
UserInfo::GetAccountType
|
||||
Pop $1
|
||||
MessageBox MB_OK 'User "$0" in group "$1"'
|
||||
SectionEnd
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue