I am trying to test the SetLayeredWindowAttributes API. My declare is:
VB Code:
  1. Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long
but when I try to call the function, I get an error that says:
"Can't find DLL entry point SetLayeredWindowAttributes in user32"
When looking through user32.dll with Microsoft's Depends Viewer and AXE (hex editor), I can't find SetLayeredWindowAttributes anywhere. Is it declared in another dll or is it just non-existent (I am running Win ME)? I have tried looking through kernel32.dll and gdi32.dll (with Depends Viewer and AXE) and can't find it in either of those.