(void *)LockAuthenticatedChannel9_Configure
};
-#if 0
static HRESULT NINE_WINAPI
-LockResource9_GetDevice( struct NineResource9 *This,
- IDirect3DDevice9 **ppDevice )
+LockUnknown_SetPrivateData( struct NineUnknown *This,
+ REFGUID refguid,
+ const void *pData,
+ DWORD SizeOfData,
+ DWORD Flags )
{
HRESULT r;
pipe_mutex_lock(d3dlock_global);
- r = NineUnknown_GetDevice(NineUnknown(This), ppDevice);
+ r = NineUnknown_SetPrivateData(This, refguid, pData, SizeOfData, Flags);
pipe_mutex_unlock(d3dlock_global);
return r;
}
-#endif
static HRESULT NINE_WINAPI
-LockResource9_SetPrivateData( struct NineResource9 *This,
- REFGUID refguid,
- const void *pData,
- DWORD SizeOfData,
- DWORD Flags )
+LockUnknown_GetPrivateData( struct NineUnknown *This,
+ REFGUID refguid,
+ void *pData,
+ DWORD *pSizeOfData )
{
HRESULT r;
pipe_mutex_lock(d3dlock_global);
- r = NineResource9_SetPrivateData(This, refguid, pData, SizeOfData, Flags);
+ r = NineUnknown_GetPrivateData(This, refguid, pData, pSizeOfData);
pipe_mutex_unlock(d3dlock_global);
return r;
}
static HRESULT NINE_WINAPI
-LockResource9_GetPrivateData( struct NineResource9 *This,
- REFGUID refguid,
- void *pData,
- DWORD *pSizeOfData )
+LockUnknown_FreePrivateData( struct NineUnknown *This,
+ REFGUID refguid )
{
HRESULT r;
pipe_mutex_lock(d3dlock_global);
- r = NineResource9_GetPrivateData(This, refguid, pData, pSizeOfData);
+ r = NineUnknown_FreePrivateData(This, refguid);
pipe_mutex_unlock(d3dlock_global);
return r;
}
+#if 0
static HRESULT NINE_WINAPI
-LockResource9_FreePrivateData( struct NineResource9 *This,
- REFGUID refguid )
+LockResource9_GetDevice( struct NineResource9 *This,
+ IDirect3DDevice9 **ppDevice )
{
HRESULT r;
pipe_mutex_lock(d3dlock_global);
- r = NineResource9_FreePrivateData(This, refguid);
+ r = NineUnknown_GetDevice(NineUnknown(This), ppDevice);
pipe_mutex_unlock(d3dlock_global);
return r;
}
+#endif
static DWORD NINE_WINAPI
LockResource9_SetPriority( struct NineResource9 *This,
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Resource9 iface */
- (void *)LockResource9_SetPrivateData,
- (void *)LockResource9_GetPrivateData,
- (void *)LockResource9_FreePrivateData,
+ (void *)LockUnknown_SetPrivateData,
+ (void *)LockUnknown_GetPrivateData,
+ (void *)LockUnknown_FreePrivateData,
(void *)LockResource9_SetPriority,
(void *)LockResource9_GetPriority,
(void *)LockBaseTexture9_PreLoad,
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Resource9 iface */
- (void *)LockResource9_SetPrivateData,
- (void *)LockResource9_GetPrivateData,
- (void *)LockResource9_FreePrivateData,
+ (void *)LockUnknown_SetPrivateData,
+ (void *)LockUnknown_GetPrivateData,
+ (void *)LockUnknown_FreePrivateData,
(void *)LockResource9_SetPriority,
(void *)LockResource9_GetPriority,
(void *)NineResource9_PreLoad, /* nop */
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Resource9 iface */
- (void *)LockResource9_SetPrivateData,
- (void *)LockResource9_GetPrivateData,
- (void *)LockResource9_FreePrivateData,
+ (void *)LockUnknown_SetPrivateData,
+ (void *)LockUnknown_GetPrivateData,
+ (void *)LockUnknown_FreePrivateData,
(void *)LockResource9_SetPriority,
(void *)LockResource9_GetPriority,
(void *)NineResource9_PreLoad, /* nop */
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Resource9 iface */
- (void *)LockResource9_SetPrivateData,
- (void *)LockResource9_GetPrivateData,
- (void *)LockResource9_FreePrivateData,
+ (void *)LockUnknown_SetPrivateData,
+ (void *)LockUnknown_GetPrivateData,
+ (void *)LockUnknown_FreePrivateData,
(void *)LockResource9_SetPriority,
(void *)LockResource9_GetPriority,
(void *)LockBaseTexture9_PreLoad,
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Resource9 iface */
- (void *)LockResource9_SetPrivateData,
- (void *)LockResource9_GetPrivateData,
- (void *)LockResource9_FreePrivateData,
+ (void *)LockUnknown_SetPrivateData,
+ (void *)LockUnknown_GetPrivateData,
+ (void *)LockUnknown_FreePrivateData,
(void *)LockResource9_SetPriority,
(void *)LockResource9_GetPriority,
(void *)NineResource9_PreLoad, /* nop */
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Volume9 iface */
- (void *)LockVolume9_SetPrivateData,
- (void *)LockVolume9_GetPrivateData,
- (void *)LockVolume9_FreePrivateData,
+ (void *)NineUnknown_SetPrivateData,
+ (void *)NineUnknown_GetPrivateData,
+ (void *)NineUnknown_FreePrivateData,
(void *)LockVolume9_GetContainer,
(void *)NineVolume9_GetDesc, /* immutable */
(void *)LockVolume9_LockBox,
(void *)NineUnknown_AddRef,
(void *)NineUnknown_Release,
(void *)NineUnknown_GetDevice, /* actually part of Resource9 iface */
- (void *)LockResource9_SetPrivateData,
- (void *)LockResource9_GetPrivateData,
- (void *)LockResource9_FreePrivateData,
+ (void *)LockUnknown_SetPrivateData,
+ (void *)LockUnknown_GetPrivateData,
+ (void *)LockUnknown_FreePrivateData,
(void *)LockResource9_SetPriority,
(void *)LockResource9_GetPriority,
(void *)LockBaseTexture9_PreLoad,