• Is HANDLE a DWORD?

    From T@21:1/5 to All on Sat Nov 19 15:51:55 2022
    Hi All,

    In the following

    C++
    HANDLE WTSOpenServerA(
    [in] LPSTR pServerName
    );

    Is HANDLE a DWORD (32 bit integer)?

    Many thanks,
    -T

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to All on Sat Nov 19 19:11:02 2022
    T24gMTEvMTkvMjIgMTU6NTEsIFQgd3JvdGU6DQo+IEhpIEFsbCwNCj4gDQo+IEluIHRoZSBm b2xsb3dpbmcNCj4gDQo+IEMrKw0KPiBIQU5ETEUgV1RTT3BlblNlcnZlckEoDQo+ICDCoCBb aW5dIExQU1RSIHBTZXJ2ZXJOYW1lDQo+ICk7DQo+IA0KPiBJcyBIQU5ETEUgYSBEV09SRCAo MzIgYml0IGludGVnZXIpPw0KPiANCj4gTWFueSB0aGFua3MsDQo+IC1UDQoNCkkganVzdCBu b3RpY2VkIEkgaGF2ZSBIQU5ETEUgZGVmaW5lZCBpbiBSYWt1IGFzDQoNCiAgICAgIGNvbnN0 YW50IEhBTkRMRSAgID0gUG9pbnRlclt2b2lkXTsNCg0KSSBkbyBiZWxpZXZlIG1vc3QgQysr IHBvaW50ZXIgYXJlIDMyIGJpdA0KY2FyZGluYWxzICh1bnNpZ25lZCBpbnRlZ2VycykNCg0K

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JJ@21:1/5 to All on Sun Nov 20 21:14:43 2022
    On Sat, 19 Nov 2022 19:11:02 -0800, T wrote:

    I do believe most C++ pointer are 32 bit
    cardinals (unsigned integers)

    Only if it was compiled as a 32-bit module.

    A pointer would be 64-bit if i's compiled as a 64-bit module.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)