Class WinDef.LPBYTE

  • All Implemented Interfaces:
    Native
    Enclosing class:
    WinDef

    public static class WinDef.LPBYTE
    extends Struct32
    Wrapper for LPBYTE.

    A pointer to a BYTE.
    This type is declared in WinDef.h as follows:
    typedef BYTE far *LPBYTE;

    • Method Detail

      • getUnicodeString

        public static String getUnicodeString​(WinDef.LPBYTE lpData,
                                              boolean isNullTerminated,
                                              int bufferEnd)
        if isNullTerminated do skip the last two 0 bytes aka the last 0 char.
        Parameters:
        lpData -
        Returns: