SHOW:
|
|
- or go back to the newest paste.
1 | // example #0 | |
2 | - | if( API(kernel32, GetPrivateProfileStringA)( NULL, |
2 | + | if(API(kernel32, GetPrivateProfileStringA)(NULL, |
3 | - | NULL, |
3 | + | NULL, |
4 | - | NULL, |
4 | + | NULL, |
5 | - | szSections, |
5 | + | szSections, |
6 | - | sizeof(szSections), |
6 | + | sizeof(szSections), |
7 | - | lpszPath ) == 0 ) |
7 | + | lpszPath) == 0) |
8 | break; | |
9 | ||
10 | // example #1 | |
11 | - | if( API(kernel32, GetPrivateProfileStringA)( |
11 | + | if(API(kernel32, GetPrivateProfileStringA)( |
12 | NULL, | |
13 | NULL, | |
14 | NULL, | |
15 | szSections, | |
16 | sizeof(szSections), | |
17 | - | lpszPath ) == 0 ) |
17 | + | lpszPath) == 0) |
18 | break; | |
19 | ||
20 | // example #1.5 | |
21 | - | if( API(kernel32, GetPrivateProfileStringA)( |
21 | + | if(API(kernel32, GetPrivateProfileStringA)( |
22 | NULL, | |
23 | NULL, | |
24 | NULL, | |
25 | szSections, | |
26 | sizeof(szSections), | |
27 | lpszPath | |
28 | - | ) == 0 ) |
28 | + | ) == 0) |
29 | break; | |
30 | ||
31 | // example #2 | |
32 | - | if( API(kernel32, GetPrivateProfileStringA)( NULL, |
32 | + | if(API(kernel32, GetPrivateProfileStringA)(NULL, |
33 | NULL, | |
34 | NULL, | |
35 | szSections, | |
36 | sizeof(szSections), | |
37 | - | lpszPath ) == 0 ) |
37 | + | lpszPath) == 0) |
38 | break; |