DelGdiObj Cannot find any call structure references
You may take a look at DeleteObject() (http://msdn.microsoft.com/en-us/library/windows/desktop/dd183539(v=vs.85).aspx)?
that is the name of a routine that i wrote, Don
http://masm32.com/board/index.php?topic=1008.msg9228#msg9228
usage:
INVOKE DelGdiObj,offset hGdiObject
the PROTO goes near the beginning of the file
notice that you pass a pointer to a global - not the gdi handle