Exemplo n.º 1
0
 public void Initialize()
 {
     _callbackInstance = OnPowerChangeCallback;
     PowerChangeInitializeNotifications(_callbackInstance);
 }
Exemplo n.º 2
0
 extern static int PowerChangeInitializeNotifications([MarshalAs(UnmanagedType.FunctionPtr)] PowerChangeCallbackDelegate callbackPointer);