summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins/src/error.h
blob: 1c125f4be658ed3d01b8cefdce683c31a62d9e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

//
// Generic return codes for NSIS plugins
//
//
// Returned on the stack:
//
//   GENERAL_ERROR:  Most functions return an error message.
//   SUCCESS:        Most functions return an empty string.
//
// NOTE: While this is generally true, some functions only
//       push a status code to the stack.
//

enum NsisStatus
{
	GENERAL_ERROR = 0,
	SUCCESS,
	FILE_EXISTS,
	CANCELLED
};