Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] so i just assume with is a void * and that's it?

[DiscordArchive] so i just assume with is a void * and that's it?

[DiscordArchive] so i just assume with is a void * and that's it?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-13-2018, 01:52 PM
#1
Archived author: Skarn • Posted: 2018-10-13T13:52:37.766000+00:00
Original source

so i just assume with is a void * and that's it?
rektbyfaith
10-13-2018, 01:52 PM #1

Archived author: Skarn • Posted: 2018-10-13T13:52:37.766000+00:00
Original source

so i just assume with is a void * and that's it?

rektbyfaith
Administrator
0
10-13-2018, 01:53 PM
#2
Archived author: schlumpf • Posted: 2018-10-13T13:53:16.922000+00:00
Original source

You don’t assume anything. Just don’t. It is sizeof(HANDLE) bytes of memory you copy. Don’t bother what it is.
rektbyfaith
10-13-2018, 01:53 PM #2

Archived author: schlumpf • Posted: 2018-10-13T13:53:16.922000+00:00
Original source

You don’t assume anything. Just don’t. It is sizeof(HANDLE) bytes of memory you copy. Don’t bother what it is.

rektbyfaith
Administrator
0
10-13-2018, 01:53 PM
#3
Archived author: Skarn • Posted: 2018-10-13T13:53:51.328000+00:00
Original source

but I need to pass stuff to it?
rektbyfaith
10-13-2018, 01:53 PM #3

Archived author: Skarn • Posted: 2018-10-13T13:53:51.328000+00:00
Original source

but I need to pass stuff to it?

rektbyfaith
Administrator
0
10-13-2018, 01:53 PM
#4
Archived author: Quantam • Posted: 2018-10-13T13:53:59.237000+00:00
Original source

Windows defines HANDLE as void *, and some userland Windows libraries store pointers to internal data structures in it
rektbyfaith
10-13-2018, 01:53 PM #4

Archived author: Quantam • Posted: 2018-10-13T13:53:59.237000+00:00
Original source

Windows defines HANDLE as void *, and some userland Windows libraries store pointers to internal data structures in it

rektbyfaith
Administrator
0
10-13-2018, 01:54 PM
#5
Archived author: schlumpf • Posted: 2018-10-13T13:54:52.207000+00:00
Original source

You don’t need to pass stuff to the handle? You just pass it into the functions.
rektbyfaith
10-13-2018, 01:54 PM #5

Archived author: schlumpf • Posted: 2018-10-13T13:54:52.207000+00:00
Original source

You don’t need to pass stuff to the handle? You just pass it into the functions.

rektbyfaith
Administrator
0
10-13-2018, 01:55 PM
#6
Archived author: schlumpf • Posted: 2018-10-13T13:55:06.524000+00:00
Original source

There is no difference to it being an int or anything.
rektbyfaith
10-13-2018, 01:55 PM #6

Archived author: schlumpf • Posted: 2018-10-13T13:55:06.524000+00:00
Original source

There is no difference to it being an int or anything.

rektbyfaith
Administrator
0
10-13-2018, 01:55 PM
#7
Archived author: Skarn • Posted: 2018-10-13T13:55:09.648000+00:00
Original source

yeah but handle is the type of file argument?
rektbyfaith
10-13-2018, 01:55 PM #7

Archived author: Skarn • Posted: 2018-10-13T13:55:09.648000+00:00
Original source

yeah but handle is the type of file argument?

rektbyfaith
Administrator
0
10-13-2018, 01:55 PM
#8
Archived author: Skarn • Posted: 2018-10-13T13:55:10.633000+00:00
Original source

no?
rektbyfaith
10-13-2018, 01:55 PM #8

Archived author: Skarn • Posted: 2018-10-13T13:55:10.633000+00:00
Original source

no?

rektbyfaith
Administrator
0
10-13-2018, 01:55 PM
#9
Archived author: Skarn • Posted: 2018-10-13T13:55:29.145000+00:00
Original source

ugh, that stuff stops making sense to me
rektbyfaith
10-13-2018, 01:55 PM #9

Archived author: Skarn • Posted: 2018-10-13T13:55:29.145000+00:00
Original source

ugh, that stuff stops making sense to me

rektbyfaith
Administrator
0
10-13-2018, 01:55 PM
#10
Archived author: Quantam • Posted: 2018-10-13T13:55:33.875000+00:00
Original source

I'm saying it's safe to treat it as a void * so long as you don't dereference it
rektbyfaith
10-13-2018, 01:55 PM #10

Archived author: Quantam • Posted: 2018-10-13T13:55:33.875000+00:00
Original source

I'm saying it's safe to treat it as a void * so long as you don't dereference it

Pages (2): 1 2 Next
Recently Browsing
 
Recently Browsing