[Settings] Replace DWORD w/ unsigned long or maybe uint32_t.
This commit is contained in:
parent
393cbc09dd
commit
4dcc7eda5c
|
@ -1,4 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include <Common/stdtypes.h>
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
enum SettingLocation {
|
enum SettingLocation {
|
||||||
|
@ -23,7 +25,7 @@ enum SettingDataType {
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
DWORD dwSize;
|
uint32_t dwSize;
|
||||||
int DefaultStartRange;
|
int DefaultStartRange;
|
||||||
int SettingStartRange;
|
int SettingStartRange;
|
||||||
int MaximumSettings;
|
int MaximumSettings;
|
||||||
|
@ -34,9 +36,9 @@ typedef struct {
|
||||||
const char * (*GetSettingSz) ( void * handle, int ID, char * Buffer, int BufferLen );
|
const char * (*GetSettingSz) ( void * handle, int ID, char * Buffer, int BufferLen );
|
||||||
void (*SetSetting) ( void * handle, int ID, unsigned int Value );
|
void (*SetSetting) ( void * handle, int ID, unsigned int Value );
|
||||||
void (*SetSettingSz) ( void * handle, int ID, const char * Value );
|
void (*SetSettingSz) ( void * handle, int ID, const char * Value );
|
||||||
void (*RegisterSetting) ( void * handle, int ID, int DefaultID, SettingDataType Type,
|
void (*RegisterSetting) (void * handle, int ID, int DefaultID, SettingDataType Type,
|
||||||
SettingLocation Location, const char * Category, const char * DefaultStr, DWORD Value );
|
SettingLocation Location, const char * Category, const char * DefaultStr, uint32_t Value);
|
||||||
void (*UseUnregisteredSetting) (int ID);
|
void (*UseUnregisteredSetting) (int ID);
|
||||||
} PLUGIN_SETTINGS;
|
} PLUGIN_SETTINGS;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in New Issue