Advertisement
Guest User

Untitled

a guest
Apr 10th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     // example #0
  2.     if(API(kernel32, GetPrivateProfileStringA)(NULL,
  3.                                                NULL,
  4.                                                NULL,
  5.                                                szSections,
  6.                                                sizeof(szSections),
  7.                                                lpszPath) == 0)
  8.         break;
  9.  
  10.     // example #1
  11.     if(API(kernel32, GetPrivateProfileStringA)(
  12.         NULL,
  13.         NULL,
  14.         NULL,
  15.         szSections,
  16.         sizeof(szSections),
  17.         lpszPath) == 0)
  18.     break;
  19.  
  20.     // example #1.5
  21.     if(API(kernel32, GetPrivateProfileStringA)(
  22.         NULL,
  23.         NULL,
  24.         NULL,
  25.         szSections,
  26.         sizeof(szSections),
  27.         lpszPath
  28.     ) == 0)
  29.     break;
  30.  
  31.     // example #2
  32.     if(API(kernel32, GetPrivateProfileStringA)(NULL,
  33.         NULL,
  34.         NULL,
  35.         szSections,
  36.         sizeof(szSections),
  37.         lpszPath) == 0)
  38.     break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement