54 TRACE(
"%p increasing refcount to %u.\n", iface, refcount);
64 TRACE(
"%p decreasing refcount to %u.\n", iface, refcount);
89 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
99 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
108 TRACE(
"iface %p, data %#x.\n", iface,
data);
119 TRACE(
"iface %p.\n", iface);
121 return light->obj.appdata;
155 TRACE(
"iface %p, type %#x.\n", iface,
type);
166 TRACE(
"iface %p, color 0x%08x.\n", iface,
color);
189 TRACE(
"iface %p, range %.8e.\n", iface,
range);
200 TRACE(
"iface %p, umbra %.8e.\n", iface,
umbra);
222 TRACE(
"iface %p, attenuation %.8e.\n", iface, attenuation);
224 light->cattenuation = attenuation;
233 TRACE(
"iface %p, attenuation %.8e.\n", iface, attenuation);
235 light->lattenuation = attenuation;
244 TRACE(
"iface %p, attenuation %.8e.\n", iface, attenuation);
246 light->qattenuation = attenuation;
255 TRACE(
"iface %p.\n", iface);
273 TRACE(
"iface %p.\n", iface);
275 return light->penumbra;
282 TRACE(
"iface %p.\n", iface);
284 return light->cattenuation;
291 TRACE(
"iface %p.\n", iface);
293 return light->lattenuation;
300 TRACE(
"iface %p.\n", iface);
302 return light->qattenuation;
309 TRACE(
"iface %p.\n", iface);
318 TRACE(
"iface %p.\n", iface);
325 FIXME(
"iface %p, frame %p stub!\n", iface, frame);
332 FIXME(
"iface %p, frame %p stub!\n", iface, frame);
378 if (!(
object = heap_alloc_zero(
sizeof(*
object))))
383 object->d3drm =
d3drm;
void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object)
static HRESULT WINAPI d3drm_light_SetRange(IDirect3DRMLight *iface, D3DVALUE range)
static HRESULT WINAPI d3drm_light_SetName(IDirect3DRMLight *iface, const char *name)
static D3DCOLOR WINAPI d3drm_light_GetColor(IDirect3DRMLight *iface)
static D3DRMLIGHTTYPE WINAPI d3drm_light_GetType(IDirect3DRMLight *iface)
coclass MSXML2::XSLTemplate40 object
static HRESULT WINAPI d3drm_light_GetClassName(IDirect3DRMLight *iface, DWORD *size, char *name)
IDirect3DRMLight IDirect3DRMLight_iface
static HRESULT WINAPI d3drm_light_SetConstantAttenuation(IDirect3DRMLight *iface, D3DVALUE attenuation)
static HRESULT WINAPI d3drm_light_GetEnableFrame(IDirect3DRMLight *iface, IDirect3DRMFrame **frame)
static D3DVALUE WINAPI d3drm_light_GetRange(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_SetType(IDirect3DRMLight *iface, D3DRMLIGHTTYPE type)
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
static struct d3drm_light * impl_from_IDirect3DRMLight(IDirect3DRMLight *iface)
static DWORD WINAPI d3drm_light_GetAppData(IDirect3DRMLight *iface)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum light
static HRESULT WINAPI d3drm_light_GetName(IDirect3DRMLight *iface, DWORD *size, char *name)
#define IDirect3DRM_AddRef(p)
static D3DVALUE WINAPI d3drm_light_GetUmbra(IDirect3DRMLight *iface)
HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name)
HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name)
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
static HRESULT WINAPI d3drm_light_SetEnableFrame(IDirect3DRMLight *iface, IDirect3DRMFrame *frame)
static HRESULT WINAPI d3drm_light_SetQuadraticAttenuation(IDirect3DRMLight *iface, D3DVALUE attenuation)
static HRESULT WINAPI d3drm_light_AddDestroyCallback(IDirect3DRMLight *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static HRESULT WINAPI d3drm_light_SetColor(IDirect3DRMLight *iface, D3DCOLOR color)
static D3DVALUE WINAPI d3drm_light_GetPenumbra(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_SetAppData(IDirect3DRMLight *iface, DWORD data)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static HRESULT WINAPI d3drm_light_SetColorRGB(IDirect3DRMLight *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
void(__cdecl * D3DRMOBJECTCALLBACK)(struct IDirect3DRMObject *obj, void *arg)
HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
#define InterlockedDecrement
static const struct IDirect3DRMLightVtbl d3drm_light_vtbl
WINE_DEFAULT_DEBUG_CHANNEL(d3drm)
static ULONG WINAPI d3drm_light_AddRef(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_DeleteDestroyCallback(IDirect3DRMLight *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
#define InterlockedIncrement
static void d3drm_set_color(D3DCOLOR *color, float r, float g, float b, float a)
#define IDirect3DRMLight_AddRef(p)
static HRESULT WINAPI d3drm_light_SetUmbra(IDirect3DRMLight *iface, D3DVALUE umbra)
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
static D3DVALUE WINAPI d3drm_light_GetLinearAttenuation(IDirect3DRMLight *iface)
void d3drm_object_init(struct d3drm_object *object, const char *classname)
static HRESULT WINAPI d3drm_light_SetLinearAttenuation(IDirect3DRMLight *iface, D3DVALUE attenuation)
static D3DVALUE WINAPI d3drm_light_GetConstantAttenuation(IDirect3DRMLight *iface)
static HMODULE MODULEINFO DWORD cb
static HRESULT WINAPI d3drm_light_Clone(IDirect3DRMLight *iface, IUnknown *outer, REFIID iid, void **out)
static D3DVALUE WINAPI d3drm_light_GetQuadraticAttenuation(IDirect3DRMLight *iface)
#define IDirect3DRM_Release(p)
static HRESULT WINAPI d3drm_light_QueryInterface(IDirect3DRMLight *iface, REFIID riid, void **out)
GLuint GLuint GLsizei GLenum type
static ULONG WINAPI d3drm_light_Release(IDirect3DRMLight *iface)
HRESULT d3drm_light_create(struct d3drm_light **light, IDirect3DRM *d3drm)
enum _D3DRMLIGHTTYPE D3DRMLIGHTTYPE
static HRESULT WINAPI d3drm_light_SetPenumbra(IDirect3DRMLight *iface, D3DVALUE penumbra)
static BOOL heap_free(void *mem)
HRESULT d3drm_object_set_name(struct d3drm_object *object, const char *name)