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.

81 lines
3.5 KiB

  1. /****************************************************************************/
  2. // apmafn.h
  3. //
  4. // Function prototypes for PM API functions
  5. //
  6. // Copyright (c) Microsoft 1996 - 1999
  7. /****************************************************************************/
  8. void RDPCALL PM_Init(void);
  9. void RDPCALL PM_SyncNow(void);
  10. BOOL RDPCALL PM_MaybeSendPalettePacket(PPDU_PACKAGE_INFO pPkgInfo);
  11. #ifdef NotUsed
  12. void CALLBACK PMEnumPMCaps(
  13. LOCALPERSONID locPersonID,
  14. PTS_CAPABILITYHEADER pCapabilities);
  15. #endif
  16. #ifdef __cplusplus
  17. /****************************************************************************/
  18. /* PM_Term() */
  19. /* Terminates the Palette Manager. */
  20. /****************************************************************************/
  21. void RDPCALL SHCLASS PM_Term(void)
  22. {
  23. }
  24. /****************************************************************************/
  25. /* PM_PartyJoiningShare() */
  26. /* */
  27. /* Called when a new party is joining the share. */
  28. /* */
  29. /* PARAMETERS: */
  30. /* */
  31. /* locPersonID - local person ID of remote person joining the share. */
  32. /* */
  33. /* oldShareSize - the number of the parties which were in the share (ie */
  34. /* excludes the joining party). */
  35. /* */
  36. /* RETURNS: TRUE if the party can join the share. */
  37. /* FALSE if the party can NOT join the share. */
  38. /****************************************************************************/
  39. BOOL RDPCALL PM_PartyJoiningShare(
  40. LOCALPERSONID locPersonID,
  41. unsigned oldShareSize)
  42. {
  43. // if (locPersonID != SC_LOCAL_PERSON_ID) {
  44. // Renegotiate capabilities (including protocol level and cache size).
  45. // NOTE: No action taken at this time.
  46. // }
  47. return TRUE;
  48. }
  49. /****************************************************************************/
  50. /* PM_PartyLeftShare() */
  51. /* */
  52. /* Cursor Manager function called when a party has left the share. */
  53. /* */
  54. /* PARAMETERS: */
  55. /* */
  56. /* locPersonID - local person ID of remote person leaving the share. */
  57. /* */
  58. /* newShareSize - the number of the parties now in the share (ie excludes */
  59. /* the leaving party). */
  60. /****************************************************************************/
  61. void RDPCALL PM_PartyLeftShare(
  62. LOCALPERSONID locPersonID,
  63. unsigned newShareSize)
  64. {
  65. }
  66. #endif // __cplusplus