brender-1997/ddraw/OBJECT.C
2022-05-03 14:31:40 -07:00

36 lines
705 B
C

/*
* Copyright (c) 1993-1995 Argonaut Technologies Limited. All rights reserved.
*
* $Id: OBJECT.C 1.2 1997/01/27 17:45:51 STEVEW Exp $
* $Locker: $
*
* Local methods for default object
*
*/
#include <stddef.h>
#include <string.h>
#include <windows.h>
#include <ddraw.h>
#include "drv.h"
#include "shortcut.h"
#include "brassert.h"
BR_RCS_ID("$Id: OBJECT.C 1.2 1997/01/27 17:45:51 STEVEW Exp $");
/*
* Get the identifier associated with a object
*/
char * BR_CMETHOD_DECL(br_object_dd, identifier)(br_object *self)
{
return self->identifier;
}
/*
* Find the device associated with a object
*/
br_device * BR_CMETHOD_DECL(br_object_dd, device)(br_object *self)
{
return self->device ;
}