type fix
This commit is contained in:
parent
8aa4b9a2ed
commit
bcd4ec7bd2
|
@ -83,7 +83,7 @@ static BOOL check_in_list(PRESFILE presfile)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
HRESULT Rsrc_load_file(LPCSTR filename, PHRESFILE newhandle)
|
||||
HRESULT Rsrc_load_file(PCSTR filename, PHRESFILE newhandle)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
PRESFILE pfile = NULL;
|
||||
|
@ -145,7 +145,7 @@ HRESULT Rsrc_close_file(HRESFILE handle)
|
|||
return E_HANDLE;
|
||||
}
|
||||
|
||||
HRESULT Rsrc_find_resource(HRESFILE hfile, LPCSTR name, LPCSTR type, PHRSRC presource)
|
||||
HRESULT Rsrc_find_resource(HRESFILE hfile, PCSTR name, PCSTR type, PHRSRC presource)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
PRESFILE pfile = (PRESFILE)hfile;
|
||||
|
|
|
@ -28,9 +28,9 @@ typedef HANDLE HRSRC; /* handle to resource */
|
|||
typedef HRESFILE *PHRESFILE;
|
||||
typedef HRSRC *PHRSRC;
|
||||
|
||||
extern HRESULT Rsrc_load_file(LPCSTR filename, PHRESFILE newhandle);
|
||||
extern HRESULT Rsrc_load_file(PCSTR filename, PHRESFILE newhandle);
|
||||
extern HRESULT Rsrc_close_file(HRESFILE handle);
|
||||
extern HRESULT Rsrc_find_resource(HRESFILE hfile, LPCSTR name, LPCSTR type, PHRSRC presource);
|
||||
extern HRESULT Rsrc_find_resource(HRESFILE hfile, PCSTR name, PCSTR type, PHRSRC presource);
|
||||
extern HRESULT Rsrc_free_resource(HRSRC resource);
|
||||
extern UINT Rsrc_sizeof_resource(HRSRC resource);
|
||||
extern HRESULT Rsrc_read_resource_here(HRSRC resource, PVOID buffer, UINT size, PUINT actual_read);
|
||||
|
|
Loading…
Reference in New Issue
Block a user