Einzelnen Beitrag anzeigen

Muetze1
(Gast)

n/a Beiträge
 
#3

Re: WlanRegisterNotification Problem

  Alt 6. Nov 2007, 23:40
Na endlich etwas womit man eine Antwort definieren kann ohne sich erstmal die MSDN installieren zu müssen...

Warum definierst du dir keinen Callback Prototypen?

Delphi-Quellcode:
type
    // Deklaration von WLAN_NOTIFICATION_DATA fehlt noch...
    // durch das Var entfällt das Pxxx
  WLAN_NOTIFICATION_CALLBACK = procedure(var WLAN_Notification_Data: ???; pCallbackContext: Pointer);

function WLanRegisterNotification(hClientHandle: THandle; dwNotifySource: LongWord; bIgnoreDuplicate: LongBool;
  FuncCallBack: WLAN_NOTIFICATION_CALLBACK; pCallbackContext: Pointer; pReserved: Pointer; var pdwPrevNotifySource: LongWord): LongWord; stdcall;
  Mit Zitat antworten Zitat