view loader/loader.h @ 8881:1e40d4a2466f

Function DVDOpenVOBPath only decrypts first VOB file and since each VOB file has separate structure for title key, all other title keys remains empty. My fix is very conservative and simply tries to find title key for every VOB file. Tomas Hurka <tom@hukatronic.cz>
author arpi
date Fri, 10 Jan 2003 22:48:49 +0000
parents 174e2a58b4cd
children f5537cc95b02
line wrap: on
line source

/********************************************************

	Win32 binary loader interface
	Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
	Shamelessly stolen from Wine project

*********************************************************/

#ifndef _LOADER_H
#define _LOADER_H

#ifdef __cplusplus
extern "C" {
#endif

#include "wine/windef.h"
#include "wine/driver.h"
#include "wine/mmreg.h"
#include "wine/vfw.h"
#include "wine/msacm.h"

unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
int _GetPrivateProfileStringA(const char* appname, const char* keyname,
	const char* def_val, char* dest, unsigned int len, const char* filename);
int _WritePrivateProfileStringA(const char* appname, const char* keyname,
	const char* string, const char* filename);

INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
                            LPSTR buffer, INT buflen );

#ifdef __cplusplus
}
#endif
#endif /* __LOADER_H */