view loader/wine/winreg.h @ 34847:44210843ba79

Update MimeType key in the desktop file. This complies with the freedesktop.org shared MIME info database. The following MIME types not registered with IANA are used: application/ram application/vnd.rn-realmedia audio/flac (in addition to audio/x-flac, see (*) below) audio/mp2 (see (**) below) audio/vnd.rn-realaudio video/vnd.rn-realvideo video/webm (*) freedesktop.org changed that from the correct, non-standard type audio/x-flac in v0.80 "for consistency with other xiph.org types not yet registered in IANA" (**) freedesktop.org introduced that in v0.22, not using the correct, non-standard type audio/x-mp2 which was added in v0.60, but only as an alias
author ib
date Mon, 21 May 2012 09:45:29 +0000
parents 26f673ba0675
children
line wrap: on
line source

/*
 * 		Win32 registry defines (see also winnt.h)
 */
#ifndef MPLAYER_WINREG_H
#define MPLAYER_WINREG_H

#include "winbase.h"
#include "winnt.h"

/*
#define SHELL_ERROR_SUCCESS           0L
#define SHELL_ERROR_BADDB             1L
#define SHELL_ERROR_BADKEY            2L
#define SHELL_ERROR_CANTOPEN          3L
#define SHELL_ERROR_CANTREAD          4L
#define SHELL_ERROR_CANTWRITE         5L
#define SHELL_ERROR_OUTOFMEMORY       6L
#define SHELL_ERROR_INVALID_PARAMETER 7L
#define SHELL_ERROR_ACCESS_DENIED     8L
*/

#define HKEY_CLASSES_ROOT       ((HKEY) 0x80000000)
#define HKEY_CURRENT_USER       ((HKEY) 0x80000001)
#define HKEY_LOCAL_MACHINE      ((HKEY) 0x80000002)
#define HKEY_USERS              ((HKEY) 0x80000003)
#define HKEY_PERFORMANCE_DATA   ((HKEY) 0x80000004)
#define HKEY_CURRENT_CONFIG     ((HKEY) 0x80000005)
#define HKEY_DYN_DATA           ((HKEY) 0x80000006)

/*
 *	registry provider structs
 */
typedef struct value_entA
{   LPSTR	ve_valuename;
    DWORD	ve_valuelen;
    DWORD_PTR	ve_valueptr;
    DWORD	ve_type;
} VALENTA, *PVALENTA;

typedef struct value_entW {
    LPWSTR	ve_valuename;
    DWORD	ve_valuelen;
    DWORD_PTR	ve_valueptr;
    DWORD	ve_type;
} VALENTW, *PVALENTW;

typedef ACCESS_MASK REGSAM;

#endif /* MPLAYER_WINREG_H */