1 00:00:00,270 --> 00:00:07,890 So in this year, we'll be seeing how the imported dealers that is loaded dealers and their based address 2 00:00:08,280 --> 00:00:11,360 using the function create snapshot. 3 00:00:11,520 --> 00:00:16,980 So this function takes the snapshot of the process information at that point of time. 4 00:00:17,130 --> 00:00:18,570 When I really got that function. 5 00:00:20,240 --> 00:00:23,360 So the syntax is the first parameter is the flags. 6 00:00:23,420 --> 00:00:27,980 You need to specify what information will be retrieving all. 7 00:00:28,310 --> 00:00:31,210 And the second one is the process. 8 00:00:33,050 --> 00:00:39,650 And if you specify, that means the current process will be taken. 9 00:00:41,100 --> 00:00:45,840 I have already written this function signature. 10 00:00:45,840 --> 00:00:50,610 It's not easy to improve on your own, but you do flags and you in that you do prosody. 11 00:00:51,090 --> 00:00:53,610 So getting the handle to the snapshot. 12 00:00:53,850 --> 00:00:59,220 After getting the handle, you get the first w function. 13 00:00:59,220 --> 00:01:02,850 You can use this function together in this module. 14 00:01:02,850 --> 00:01:11,400 So these are the double English you need to get the first one and you can call the module next to the 15 00:01:11,400 --> 00:01:19,410 winning function to get the next module so you can move this one, this next function to get the are 16 00:01:19,410 --> 00:01:21,240 the values for the first time. 17 00:01:21,240 --> 00:01:27,240 When you first get this module that universal W and the ASCII version did not work. 18 00:01:27,240 --> 00:01:32,040 So this the strings will be of the Unicode. 19 00:01:32,040 --> 00:01:34,590 So it's better to use this Unicode version. 20 00:01:38,310 --> 00:01:45,960 So the first one is the handle to the snapshot and second one is the pointer to my drawing, but table 21 00:01:46,980 --> 00:01:47,580 structure. 22 00:01:47,910 --> 00:01:55,530 So if you go there and I try to mark the entry and what you can see, there are many values, so you 23 00:01:55,530 --> 00:02:05,730 can simply copy these things modulating only the usage and the base address and the size and the pointer 24 00:02:05,730 --> 00:02:06,600 to the module. 25 00:02:06,840 --> 00:02:10,950 And also we'll be getting the module name and the ICSI full part. 26 00:02:12,360 --> 00:02:15,000 So copy all of this and just paste here. 27 00:02:15,450 --> 00:02:18,050 So we have this module entry that you do ready. 28 00:02:45,880 --> 00:02:47,590 So I have already. 29 00:02:49,530 --> 00:02:50,400 I'll copy this. 30 00:02:53,460 --> 00:02:59,520 Okay so it's just up about this function at already not copy. 31 00:03:00,140 --> 00:03:00,450 Okay. 32 00:03:00,480 --> 00:03:05,850 So we have this structurally and we need to define this function as what? 33 00:03:19,410 --> 00:03:21,600 Baritone, baby boom. 34 00:03:25,120 --> 00:03:32,860 And the first one is question parameter is the pointer to this snapshot. 35 00:03:35,780 --> 00:03:36,860 And the second one is. 36 00:03:41,040 --> 00:03:43,620 Brian, to this structure. 37 00:03:57,030 --> 00:03:58,820 Let's say you mean for the model and. 38 00:04:00,390 --> 00:04:02,130 So, again, simply copy this one. 39 00:04:02,610 --> 00:04:04,020 Copy and the function. 40 00:04:06,770 --> 00:04:08,660 And pensions aren't in dispute. 41 00:04:09,170 --> 00:04:13,400 Next year w so it changes to next. 42 00:04:14,720 --> 00:04:16,390 So we have ready. 43 00:04:18,780 --> 00:04:21,270 And let's go and call this function. 44 00:04:21,270 --> 00:04:27,690 And the flags are where we need to are all of these flags. 45 00:04:27,960 --> 00:04:30,840 So these flag values are one for two. 46 00:04:31,320 --> 00:04:36,300 So we can just set one or two or four or eight. 47 00:04:36,480 --> 00:04:40,680 So this will give the the information and parses, that is. 48 00:04:41,250 --> 00:04:44,010 So that means we are specifying the current process. 49 00:04:44,580 --> 00:04:46,020 So the return type is. 50 00:04:47,780 --> 00:04:51,100 Pointer to the snapshot, snapshot and the. 51 00:04:53,770 --> 00:05:00,100 So you get the first module in this process snapshot. 52 00:05:00,100 --> 00:05:02,320 We can call this module first. 53 00:05:04,750 --> 00:05:11,410 Snapshot and the model in terms of when to create a model. 54 00:05:11,680 --> 00:05:15,820 And Twitter didn't have that yummy sequence to. 55 00:05:21,410 --> 00:05:27,560 And here we need to specify the size of this structure. 56 00:05:30,210 --> 00:05:31,350 Beta releases. 57 00:05:32,010 --> 00:05:40,830 So you need a bit of an insanity sequence to marshal that sense of type of module and that to. 58 00:05:42,910 --> 00:05:45,310 So saying should be specified. 59 00:05:51,310 --> 00:05:52,360 Your friends and me. 60 00:06:01,030 --> 00:06:01,410 Okay. 61 00:06:01,660 --> 00:06:03,310 We got the sense, right. 62 00:06:06,540 --> 00:06:10,440 And we are passing this to my first types. 63 00:06:10,680 --> 00:06:12,150 We're a desert. 64 00:06:17,570 --> 00:06:19,090 We can of from the result. 65 00:06:25,200 --> 00:06:30,630 Let's go and print this and then see here the tape is. 66 00:06:30,670 --> 00:06:34,470 He's the first entry of the model which has been capitalized before. 67 00:06:35,160 --> 00:06:42,450 So we can see if I'll address the questions because to blue, then we can print it out. 68 00:06:46,260 --> 00:06:48,600 Lexi, but not to spring. 69 00:06:51,800 --> 00:06:52,430 It's orange. 70 00:06:52,760 --> 00:06:57,350 Yes, it's a print, the model name. 71 00:06:58,370 --> 00:06:59,480 So it's going to be this. 72 00:07:00,660 --> 00:07:01,680 And that's Randy's. 73 00:07:02,040 --> 00:07:06,210 And here you can see we've got the desert blue and red, the first model. 74 00:07:06,210 --> 00:07:07,740 That is the process itself. 75 00:07:08,820 --> 00:07:12,600 And what we can do now is we can call this. 76 00:07:14,960 --> 00:07:15,630 Module. 77 00:07:15,660 --> 00:07:22,370 Next level, we can provide the same snapshot and the reference and meet. 78 00:07:26,900 --> 00:07:29,630 I need to paint this function a bit. 79 00:07:30,110 --> 00:07:33,050 No violence in this youngish structure. 80 00:07:33,410 --> 00:07:36,440 So it's like a temporary variable. 81 00:07:40,450 --> 00:07:43,480 So we can just copy this and paste here. 82 00:07:45,910 --> 00:07:51,100 And here we can see the flu particles are the Lauderdale's. 83 00:07:54,930 --> 00:07:55,820 So again, just. 84 00:07:57,790 --> 00:08:00,010 Cancer module. 85 00:08:02,810 --> 00:08:03,200 No. 86 00:08:04,880 --> 00:08:06,620 We also need the drugs, right. 87 00:08:06,620 --> 00:08:13,070 So we can just their immediate base address not to spring. 88 00:08:16,730 --> 00:08:20,240 We to pass space for the hexadecimal notation. 89 00:08:23,420 --> 00:08:31,910 So let's go and run this and where we can see what the dealers and their bills are does this. 90 00:08:33,350 --> 00:08:41,360 So that's how you find the right ideas and the best artists using this create today snapshot. 91 00:08:41,730 --> 00:08:46,700 Remember, this function only gets the information and the process at that point of time. 92 00:08:47,030 --> 00:08:48,290 Your card in this function.