[Bug 507] - Convert HDC to a void* (references: 804)