Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
766 B

  1. typedef enum
  2. {
  3. CBSHOW_HIDE = -1,
  4. CBSHOW_SHOW = 0,
  5. } CBSHOW;
  6. typedef struct
  7. {
  8. POINT pt; // REQUIRED - maybe OPTIONAL?
  9. HINSTANCE hinst; // REQUIRED - for LoadString
  10. int idsTitle; // REQUIRED
  11. int idsMessage; // REQUIRED
  12. int ttiIcon; // REQUIRED one of TTI_ values
  13. DWORD dwMSecs; // OPTIONAL
  14. DWORD cLimit; // OPTIONAL - if non-zero then query registry
  15. HKEY hKey; // OPTIONAL - REQUIRED if cLimit > 0
  16. LPCWSTR pszSubKey; // OPTIONAL - REQUIRED if cLimit > 0
  17. LPCWSTR pszValue; // OPTIONAL - REQUIRED if cLimit > 0
  18. } CONDITIONALBALLOON;
  19. STDAPI SHShowConditionalBalloon(HWND hwnd, CBSHOW show, CONDITIONALBALLOON *pscb);